Facebook graph API rate limit and batch requests

后端 未结 5 965
野性不改
野性不改 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:10

    According to FB docs, each element in a batch counts as a separate call.

    We currently limit the number of requests which can be in a batch to 50, but each call within the batch is counted separately for the purposes of calculating API call limits and resource limits. For example, a batch of 10 API calls will count as 10 calls and each call within the batch contributes to CPU resource limits in the same manner.

    Quoted from: https://developers.facebook.com/docs/reference/api/batch/

    I don't have empirical evidence however.

    David

提交回复
热议问题