简体   繁体   English

FQL在updated_time上从流中获取帖子,需要查找等效图API

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

FQL will be obsolete in API 2.1. FQL在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. 如果有任何用户创建新的APP,则该用户被迫使用API​​ 2.1功能,因此,我需要删除所有FQL,并用Graph API替换,以为创建新应用的新用户提供服务器。

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. 这是一个问题,我们使用FQL根据updated_time提取墙上的所有帖子,然后我们可以获取页面上对这些帖子的所有新评论回复。 This is the way we can fetch all the newer comments since last update. 这是我们可以获取自上次更新以来所有较新注释的方式。 the FQL syntax look like this. FQL语法如下所示。

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

Does any one know the equivalent feature in Graph API. 是否有人知道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. 不幸的是,Graph API中没有等效项。 The since request parameter is relative to the created_time AFAIK. since请求参数相对于created_time AFAIK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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