Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the Facebook's Graph API call limit?

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?

like image 857
Mehul Hingu Avatar asked Jan 03 '12 13:01

Mehul Hingu


People also ask

What is Facebook API rate limit?

Each app is given an allotment of 200 API calls per user in any given 60 minute window.

Is there a limit to API calls?

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.

What is exceeded allowed limit of API call?

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 .

Does Facebook have a rate limit?

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.


2 Answers

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

like image 119
Zain Khan Avatar answered Sep 28 '22 11:09

Zain Khan


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:

  • Rate limiting is done on your Facebook AppId. If your app reaches a rate limit, all calls made for that app will be limited not just on a per-user basis.
  • Rate limiting is calculated by taking the number of users your app had the previous day and adding today's new logins. This gives a base number of users that your app has.

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:

enter image description here

like image 45
Alfeu Avatar answered Sep 28 '22 11:09

Alfeu