Facebook graph API rate limit and batch requests

后端 未结 5 949
野性不改
野性不改 2021-01-31 09:38

I\'ve seen the 600 calls / 600 seconds rate limit mentioned by some (e.g. on quora).

What I want to know is whether I am allowed to do 600 batch requests in 600 secs (a

5条回答
  •  走了就别回头了
    2021-01-31 10:29

    I have quite a big and painful experience now with the Facebook API and I can state that :

    • If a batch request contains 50 requests, then it counts as 50 requests on Facebook
    • 1 request != 1 call. Facebook has its own definition of what a call is. If your request is big, return a lot of data or consume a lot of cpu then it will count as several calls.

    The most frequent graph API call I am doing contains a lot of nested fields and I have noticed that I reached the "600 calls / 600 seconds" after doing it only 200 times. So basically this call count for 3 in my case...

    You have a lot of other rate limits but none of of them are properly documented...

提交回复
热议问题