<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


HOW TO find a consolidated count of "likes" on social networks for your site pages

Sites like SharedCount and Like Explorer can fetch the count of "likes" and "shares" for a submitted URL.

SharedCount also provides a free and paid API to simplify the process of getting the consolidated count if you wish to implement it on your own. Interestingly, the site has also listed how they fetch the counts from the major social networking services. The following services provide a JSON API for accessing the shared counts for specified URLs:
  • Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json
  • Twitter: http://urls.api.twitter.com/1/urls/count.json?url=%%URL%%&callback=twttr.receiveCount
  • Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%%
  • LinkedIn: http://www.linkedin.com/cws/share-count?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%%
  • Google +1: +1 counts are retrieved via a JSON-RPC POST call. 


Labels: , ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

Posted by Blogger sony anroid | 9/29/2016 05:19:00 PM

Hi there, I noticed that you are linking to Sharedcount.com on your article http://mvark.blogspot.com/2014/09/how-to-find-consolidated-count-of-likes.html . As that service is being discontinued, perhaps it could be useful to replace the link for Sharescount.com, a new working alternative. Keep up the great work!    



»

Post a Comment