Just as the question says, is there a way to get an array of 开发者_如何学运维URLs on my domain sorted by most Facebook Likes? I have a Facebook appId if that helps.
Thanks!
You can use FQL, like this:
SELECT url, like_count FROM link_stat WHERE url IN ('http://www.url1.com', 'http://www.url2.com')
You can't get it sorted from facebook, you must do that manually later.
Here are some useful links, hope it helps:
http://sudocode.net/article/368/how-to-get-the-access-token-for-a-facebook-application-in-php/ http://developers.facebook.com/docs/reference/fql/
精彩评论