Can the facebook API fetch only NEW comments?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 18:38:17

问题


Imagine you wanted to fetch the entries on a facebook page and its related comments to bring it into another application. That works fine using the facebook API.

But if you want to track and fetch only those 'new' comments to previously already fetched posts, is it possible?


回答1:


Yes, you can use FQL and query the tables directly

https://developers.facebook.com/docs/reference/fql/

https://developers.facebook.com/docs/reference/fql/comment/

You will of course need to keep track of the last time you checked for comments for a given post, and constrain the query with the time column.



来源:https://stackoverflow.com/questions/5712377/can-the-facebook-api-fetch-only-new-comments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!