I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API.
Is there any way to find out?
Here's a list of API links to get your stats:
Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json 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%%
Edit: Removed the Twitter endpoint, since that one has been deprecated.
Edit: Facebook REST API is deprecated
2.1m questions
2.1m answers
60 comments
57.0k users