The below Javascript function I used to have the twitter share count for a URL.
Unfortunately, twitter stopped providing the count of shares now. Is there any better alternative for that ?
// Twitter Shares Count
$.getJSON( 'http://cdn.api.twitter.com/1/urls/count.json?url=' + $URL + '&callback=?', function( twitdata ) {
$('#twitter-count').text( ReplaceNumberWithCommas(twitdata.count) + ' Tweets ')
});
You can see how it is failing now
http://jsfiddle.net/sureshatta/5TxBd/125/
Previously the above call giving me the exact count of tweets with that url but twitter stopped that.
Can someone suggest any quick alternative for the above call ?