2013年7月,Facebook从图形API的帖子中删除了评论计数.是否有另一种当前可行的方法来检索特定帖子的评论数量,而不必下载所有评论?谢谢.
In July 2013 Facebook removed the comment count from posts in the graph API. Is there an alternative, currently working way to retrieve the number of comments for a specific post, without having to download all of them? Thanks.
推荐答案我不知道您的情况,因此无法为您提供确切的解决方案.但是获得评论计数的一种方法是使用 stream 表中获取评论href ="developers.facebook/docs/reference/fql" rel ="nofollow"> FQL .
Well i don't know your scenario, so can't help you with exact solution. but one way to get comments count is getting it from the stream table using FQL.
存在comment_info的结构,该结构提供了任何特定帖子的评论计数.
there is a structure of comment_info which gives the comment count for any specific post.
请参见下面的查询,例如:
see the query below for example:
Select type, post_id, description, likes,comment_info from stream WHERE source_id = "*post_id*"将帖子ID放在子句中.
put the post id in the clause.
更多推荐
来自Graph API的Facebook帖子评论计数
发布评论