本文介绍了如何在RSS XML或Json中获取Facebook页面的整个历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取Facebook页面的xml格式,但问题是它仅限于29项。为了说明,我们去并点击订阅rss (左下角)。它打开一个只包含29个项目的xml文档。如果可能的话,我想得到更多,也许还有整个历史。如果您有任何想法,请告诉我。

I am trying to get an xml format for a facebook page but the problem is that it is limited to 29 items. To illustrate, say we go to https://www.facebook.com/barackobama and click the subscribe via rss https://www.facebook.com/feeds/page.php?id=6815841748&format=rss20 (bottom left). It open an xml document with only 29 items. I would like to get more, and perhaps the entire history if possible. Let me know if you have any thoughts.

提前致谢

推荐答案

https://graph.facebook.com/cocacola / status?access_token = ...(或/ feed)。您可以设置limit querystring参数以获取更多值,如果仍然达到Facebook限制,响应中将有next和prev URL来检索更多值。尝试使用 。

To get a full JSON feed, just use https://graph.facebook.com/cocacola/statuses?access_token=... (or /feed). You can set the limit querystring parameter to get more values and if you still reach the Facebook limit, there will be next and prev URL's in the response to retrieve more values. Try it with the graph explorer.

这篇关于如何在RSS XML或Json中获取Facebook页面的整个历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 17:13