Open kievins opened 9 years ago
The old REST API will be deprecated on April 30th 2015. Using the /fql endpoint without an app access token will result in request limit errors.
The only official endpoint usable will be /?id={url}, see https://developers.facebook.com/docs/graph-api/reference/v2.2/url
The facebook share count is not working because FQL request keeps returning this error: "(#4) Application request limit reached",
You can also observe the error in action on the example page here: http://sharrre.com/example1.html
I succeeded in fixing this by changing from FQL to restserver.php. In jquery.sharrre.min.js I replaced this: facebook: "https://graph.facebook.com/fql?q=SELECT%20url,%20normalized_url,%20share_count,%20like_count,%20comment_count,%20total_count,commentsbox_count,%20comments_fbid,%20click_count%20FROM%20link_stat%20WHERE%20url=%27{url}%27&callback=?",
with this: facebook: "http://api.facebook.com/restserver.php?method=links.getStats&urls={url}&format=json&callback=?",
Not sure if there are any drawbacks to this fix, for now it seems to be working well.