Created
March 22, 2013 13:05
-
-
Save vadimdemedes/5221097 to your computer and use it in GitHub Desktop.
Generating social sharing links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var share = new Chute.Share({ | |
url: 'http://my-website.com/about', | |
text: 'Check out my new website!' | |
}); | |
var links = share.generate(); | |
/* | |
links = { | |
twitter: 'URL', | |
facebook: 'URL', | |
pinterest: 'URL', | |
tumblr: 'URL' | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment