Facebook Oauth 2.0 and rate limiting

心不动则不痛 提交于 2020-01-04 02:05:29

问题


I am trying to extract Facebook ids from a list of emails using the url:

let url = "https://graph.facebook.com/search?q=" 
          + email.Replace("@","%40") 
          + "&type=user&access_token=" 
          + facebook.Token

After around 600 id extracts I get the error "The remote server returned an error: (400) Bad Request.". Is the facebook API/Search rate limited? If so where is the doc?


回答1:


Facebook limits you to 600 calls/600 sec - but it does reset after 10 minutes. I can't find the documentation at the moment, but I was told this at a Facebook developer garage



来源:https://stackoverflow.com/questions/3957401/facebook-oauth-2-0-and-rate-limiting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!