DEV Community

Lekshmi Chandra
Lekshmi Chandra

Posted on

1

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.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay