我试图在Facebook上找到特定网址的喜欢数量。通常可以通过使用REST API或通过FQL查询找到它。现在,这些数字似乎报告了不准确的数字。如何为特定网址找到喜欢,评论和分享的准确总数?
参考Facebook帖子(63赞):http://www.facebook.com/permalink.php?story_fbid=340865255940883&id=372915765358
Facebook图谱API(62次赞):https://graph.facebook.com/340865255940883/likes?limit=1000
Facebook REST API(7赞):http://api.facebook.com/restserver.php?method=links.getStats&urls=http://www.5x5m.com/facebook/14052/1334966/26367/psyk_forandring_TV3.html
答案 0 :(得分:2)
请注意:Facebook正在弃用REST API https://developers.facebook.com/blog/post/616/最好选择Graph API / FQL方法。
最好使用FQL方法,
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='http://www.google.com'
这会回来,
{
"data": [
{
"url": "http://www.google.com",
"normalized_url": "http://www.google.com/",
"share_count": 4989540,
"like_count": 1317162,
"comment_count": 1684401,
"total_count": 7991103,
"commentsbox_count": 807,
"comments_fbid": 396269740024,
"click_count": 265614
}
]
}