Mobile app version of vmapp.org
Login or Join
Caterina187

: How to create sharing icons with the share count number showing? See a sample article on theonion.com I know how to create icons for these sites without using their standard widget, but how

@Caterina187

Posted in: #Facebook #GooglePlus #SocialNetworks #Twitter

See a sample article on theonion.com



I know how to create icons for these sites without using their standard widget, but how did they get the number of share, bellow each icon ? Is there an API to ask for it ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

1 Comments

Sorted by latest first Latest Oldest Best

 

@Caterina187

Twitter

use the URL :
urls.api.twitter.com/1/urls/count.json?url=http://stackoverflow.com

It will return a JSON string :

{"count":8026,"url":"http://stackoverflow.com/"}


Facebook

The URL is
graph.facebook.com/?id=http://www.google.com

But see stackoverflow.com/questions/5699270

Google +

The URL is
clients6.google.com/rpc?key=YOUR_API_KEY

More social sites at gist.github.com/2640302

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme