Hello. In my project I use samopisnye share-buttons. Until recently, to get the facebook counter, I used the following construct:
var counterUrl = 'https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22' + encodeURIComponent(url) + '%22&callback=?'; $.getJSON(counterUrl, function (response) { ... }); Now facebook says that this method is outdated, returning an error to the request:
(#12) fql is deprecated for versions v2.1 and higher Tell me, please, what other method of getting the number of share links exists?