[英]get facebook feed based on 'updated_time'
I need to get all last comments, which was made on my page. 我需要获取所有最后的评论,这些评论在我的页面上进行。 I know that each post have field called
updated_time
which updates each time when someone make a comment to the post. 我知道每个帖子都有一个称为
updated_time
字段,每次有人对此帖子发表评论时都会更新。 So what I really need is to get all posts, with updated_time
after some moment. 因此,我真正需要的是
updated_time
获取所有帖子,并使用updated_time
。
You can use the since
parameter in your request: 您可以在请求中使用
since
参数:
/{page_id}/feed?fields=id,message,updated_time,comments&since={unix_timestamp}
Replace {page_id}
with the actual Page_ID, and {unix_timestamp}
with the actual desired timestamp for the last changes. 将
{page_id}
替换为实际的Page_ID,并将{unix_timestamp}
替换为最后一次更改的实际期望的时间戳。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.