可以Facebook的API只提取新的评论? [英] Can the facebook API fetch only NEW comments?

查看:125
本文介绍了可以Facebook的API只提取新的评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想象一下,您想要获取Facebook页面上的条目及其相关评论,将其带入另一个应用程序。

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?

推荐答案

是的,您可以使用FQL并直接查询表格

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 /

您当然需要记录上次检查给定帖子的评论的时间,使用 time 列限制查询。

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.

这篇关于可以Facebook的API只提取新的评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆