我想检索的文字,作者的评论或分享为一个特定的网址。例如,我有以下目标:http://www.graphemeride.com/blog/comment-j-ai-triche-aux-golden-blog-awards
我可以检索评论和分享的数量with FQL:
SELECT
url, share_count , comment_count, comments_fbid
FROM
link_stat
WHERE
url="http://www.graphemeride.com/blog/comment-j-ai-triche-aux-golden-blog-awards"我得到了以下结果:
{
"data": [
{
"url": "http://www.graphemeride.com/blog/comment-j-ai-triche-aux-golden-blog-awards",
"share_count": 27,
"comment_count": 26,
"comments_fbid": 357167807708699
}
]
} 我的计划是对retrieve the different comments使用comment FQL查询。
SELECT
id, text
FROM
comment
WHERE
object_id="357167807708699"但是,我得到了一个空的结果数据集。我添加了所需的访问令牌,但我有点理解,我只能获得我对此对象的评论,而不是公共评论或共享。
有没有其他方法可以访问人们公开谈论的url?
发布于 2014-04-22 02:43:31
link_stat表上的评论计数是此链接共享上的评论数量,而不是该页面上评论插件上的评论数量。
而comments表则返回该页面上评论插件的评论数量。
因为你的页面没有使用任何fb评论插件,所以你得不到任何评论。
https://stackoverflow.com/questions/23193613
复制相似问题