PHP

How to get Social Media counts via API

How to get Social Media counts via API

JSON response based on URL input. The following is a list with some of the major social media players.   Twitter: http://urls.api.twitter.com/1/urls/count.json?url=%%URL%% LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%% 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%%     Share Buttons to be added on WordPress posts — very simple to share…