只是分享我在测试我的应用程序时遇到的一些信息。
Facebook Graph API 实现了速率限制,如其上所述文档页 https://developers.facebook.com/docs/graph-api/advanced/rate-limiting。今天我试图从 CNN Facebook 页面检索提要,我得到了以下内容500 error:
{"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}}
这是我试图测试的查询:
https://graph.facebook.com/v2.3/5550296508/feed?fields=id,actions,application,caption,created_time,description,from,icon,is_hidden,link,message,message_tags,name,object_id,picture,place,privacy,properties,source,status_type,story,story_tags,to,type,updated_time,with_tags,shares,likes.limit(50),comments.filter(stream).limit(50){attachment,created_time,from,id,like_count,message,message_tags,comments{attachment,created_time,from,id,like_count,message,message_tags}}&access_token=xxxxxxx