只是分享一些我在测试我的应用程序时遇到的信息。
Facebook Graph API 实现了速率限制,如其文档页面所述。今天我试图从 CNN facebook 页面检索提要,但出现以下500错误:
{"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