我正在尝试通过 FB Graph API 获取特定 Facebook 帖子的所有评论。
对帖子本身的呼吁:
graph.facebook.com/129047777209815_279367092177882/?access_token=XXXXXXXXXXXXXXX|XXXXXXXXXXXXXXXXXXXXXXXXXXX
产生有 5278 条评论。
查询 offset=900, limit=100 的评论:
https://graph.facebook.com/129047777209815_279367092177882/comments?limit=100&offset=900&value=1&base_amount=1&access_token=XXXXXXXXXXXXXXX|XXXXXXXXXXXXXXXXXXXXXXXXXXX&__after_id=129047777209815_279367092177882_1122143
产量
"paging": {
"next": "https://graph.facebook.com/129047777209815_279367092177882/comments?limit=100&offset=1000&value=1&base_amount=1&access_token=XXXXXXXXXXXXXXX|XXXXXXXXXXXXXXXXXXXXXXXXXXX&__after_id=129047777209815_279367092177882_1122270"}
还在查询
graph.facebook.com/129047777209815_279367092177882/comments?limit=100&offset=1000&value=1&base_amount=1&access_token=XXXXXXXXXXXXXXX|XXXXXXXXXXXXXXXXXXXXXXXXXXX&__after_id=129047777209815_279367092177882_1122270
根本不给我任何评论。不仅仅是这篇文章,我一直注意到我永远无法检索超过 999 条评论。谁能告诉我如何获得超过 999 条评论?这是 Facebook 的限制吗?我在文档中找不到它。
谢谢,保罗