简体   繁体   中英

FQL get posts from stream on updated_time, need to find equivalen Graph API

FQL will be obsolete in API 2.1. If any user creates a new APP, then the user is forced to use API 2.1 features, as a result, I need to remove all FQL and replaced with Graph API to server the new users who create a new app.

Here is the quesion, We use FQL to fetch all posts on wall based on updated_time, and then we can fetch all newly comments reply to these posts on the page. This is the way we can fetch all the newer comments since last update. the FQL syntax look like this.

https://graph.facebook.com/v2.0/fql?q=SELECT post_id, comment_info FROM stream WHERE source_id = ' owner ' and updated_time >=' since

Does any one know the equivalent feature in Graph API. I have been looking documents but unable to find it. Please help in coming out an alternate approach to achieve the same functionality, Thanks.

There's unfortunately no equivalent in the Graph API. The since request parameter is relative to the created_time AFAIK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM