DEV Community

Lekshmi Chandra
Lekshmi Chandra

Posted on

Application-Level Rate Limiting in Facebook APIs

Facebook Graph APIs have rate limits. It is the number of Graph API calls that you can make to Facebook in a specific period of time. All API calls from the FB app will fail if you exceed the rate limit. Application-level rate limits apply to calls made using any access token other than a Page access token and ads APIs calls.

Two types -

Account level

Number of api calls from a user = undocumented-number-which-only-fb-knows

These calls could be from a user using many different apps.

If a specific user account is making too many calls, the user could get rate limited.

Application level

Number of API calls an app can make = 200 * number of users.

If you have only a test user, your app can make 200 requests. Rate limiting happens real time on sliding window for past hours and the rate limit get added up real time. This can be observed in the Application Rate Limit in the dashboard.

Top comments (0)