我正在尝试使用 Graph API 检索用户被标记的所有照片,但我只能获得最新的 25 张。
是否有可能获得更多,如果有,如何获得?
最佳答案
您是否尝试过添加限制和偏移参数?引用文档:
Paging
When querying connections, there are several useful parameters that enable you to filter and page through connection data:
- limit, offset: https://graph.facebook.com/me/likes?limit=3
- until, since (a unix timestamp or any date accepted by strtotime): https://graph.facebook.com/search?until=yesterday&q=orange
关于facebook - 从 Facebook Graph API 获取超过 25 张照片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6718422/