Facebook Graph API limit - per token and per IP?

后端 未结 2 1076
南方客
南方客 2020-12-16 04:23

So I am using the Facebook Graph API. The documentation specifies the rate limit is 600 calls per 600 seconds, per token & per IP. I don\'t understand what this means, s

相关标签:
2条回答
  • 2020-12-16 04:40

    It all depends on what kind of limit you're hitting. If it's a "User request limit reached" then using a different access token would suffice. However, there's also a global app-level API limit that (to my best understanding) doesn't take into account your DAU number.

    Once you hit "Application request limit reached", all user tokens generated by that application cease to work for the duration, and even OAuth logins stop working (!!!).

    0 讨论(0)
  • 2020-12-16 05:03

    I checked the Facebook rate limits and found that both examples are correct. Facebook uses the (token, IP address) pair as unique identifier. You could use 2 access tokens per 1 IP address and 1 access token from 2 IP addresses. In both cases you will make 1200 total calls without any problems.

    The rate limit doesn't depend on access token type (app access token, page access token etc) and it doesn't take into account the person who get this access token.

    0 讨论(0)
提交回复
热议问题