Last active
October 11, 2015 07:38
-
-
Save thomas-lebeau/4451b849778cffbeee3f to your computer and use it in GitHub Desktop.
JS: share links and counts
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
<a href="http://twitter.com/home?status=STATUS" title="Click to share this post on Twitter">Share on Twitter</a> | |
<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE">link or image</a> | |
<a href="https://m.google.com/app/plus/x/?v=compose&content=CONTENT">Image or text</a> | |
Facebook*: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json | |
Twitter: http://urls.api.twitter.com/1/urls/count.json?url=%%URL%% | |
Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%% | |
LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json | |
Digg: http://widgets.digg.com/buttons/count?url=%%URL%% | |
Delicious: http://feeds.delicious.com/v2/json/urlinfo/data?url=%%URL%% | |
StumbleUpon: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=%%URL%% | |
Pinterest: http://widgets.pinterest.com/v1/urls/count.json?source=6&url=%%URL%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment