获取特定日期范围内的Facebook Feed帖子



成交

我正在尝试从一个基于日期范围的组拉帖子,所以我使用这个

https://graph.facebook.com/<groupID>/feed/?since=1398902400&until=1398988800&access_token=<accesstoken>
since= 2014-05-01 and until= 2014-05-02

我使用unix时间,它看起来像它工作,但当你开始分页

我可以看到2014-04-30的帖子,这超出了请求的日期范围。

谁能帮我弄清楚为什么会发生这种事?

根据您刚才提供的信息。您使用unix代码是正确的。但是,您提供的代码有一个小问题,可能是/可能不是导致错误的原因。

贵方提供给我们:

https://graph.facebook.com/<groupID>/feed/?since=1398902400&until=1398988800&access_token=<accesstoken>

您可能只需要将其更改为以下内容:

https://graph.facebook.com/<groupID>/feed?since=1398902400&until=1398988800&access_token=<accesstoken>

这个小问题只是语法。而不是a/你只需要删除它,并直接到feed?since=

除此之外,这就是我能看到的所有错误。

最新更新