Is there any restriction in number of calls we make to facebook's graph api? and If it is there then how many calls can we make per app daily?
Each app is given an allotment of 200 API calls per user in any given 60 minute window.
In the API Console, there is a similar quota referred to as Requests per 100 seconds per user. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.
When a rate limit is exceeded, the manager does not process requests until the call rate falls below all rate limits. When a call is made and an API rate limit is exceeded, the response code is 429 with the message Too many API requests .
App-Level LimitsRate limiting is determined by total users of an app. When your app is rate limited, all calls for the app are limited. App Level Rate Limiting is enforced.
The best answer to this question from another forum, from Ash Rust in 2010:
"After some testing and discussion with the Facebook platform team, there is no official limit I'm aware of or can find in the documentation. However, I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you. I've also seen some application based rate limiting but don't have any numbers.
As a general rule, one call per second should not get rate limited. On the surface this seems very restrictive but remember you can batch certain calls and use the subscription API to get changes."
The above information is now obsolete as of October 2015. It's now 200 API calls per user in any given 60 minute window according to https://developers.facebook.com/docs/graph-api/advanced/rate-limiting
Now it's official:
Each app is given an allotment of 200 API calls per user in any given 60 minute window.
From the Facebook documentation as of October 7th 2015, here's how rate limiting on the Graph API works:
As an example, if your app had 10 users yesterday and 5 new logins today, that would give you a base of 15 users. This means that your app can make ((10 + 5) * 200) = 3000 API calls in any 60 minute window.
More information here: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting
--Update as of April 12th 2016--
Facebook has now a Rate Limit Dashboard, which is much easier to see if your app's rate limit is exceeding. It looks like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With