【问题标题】:Getting public page's posts (timeline) using FQL使用 FQL 获取公共页面的帖子(时间线)
【发布时间】:2014-06-12 14:39:08
【问题描述】:

我尝试使用 FQL 为公共 Facebook 页面获取帖子:

SELECT post_id, created_time, type,like_info.like_count,comment_info.comment_count,message     FROM stream WHERE source_id ='118074121050' and like_info.like_count > 800

118074121050 是公共页面的 ID https://www.facebook.com/cliomakeup 我使用的令牌允许读取流。

查询的结果只有一个帖子,而很多帖子的点赞数超过800(根据页面的时间线)。

问题是为什么 fql 结果没有显示所有公开的帖子?

【问题讨论】:

  • 如果我的回答有帮助,请将其标记为已接受。 :)

标签: facebook facebook-fql facebook-timeline


【解决方案1】:

stream 表还提供了用户的帖子,这看起来不像是您需要的。为了仅过滤来自页面所有者的帖子,您需要将actor_id 指定为与​​source_id 相同:

SELECT post_id, created_time, type, like_info.like_count, comment_info.comment_count, message     
  FROM stream 
 WHERE source_id = '118074121050' AND actor_id = '118074121050'
   AND like_info.like_count > 800

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-25
    • 1970-01-01
    • 2017-07-30
    • 1970-01-01
    • 2015-09-15
    相关资源
    最近更新 更多