Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph API limit [duplicate]

I have researched and I am on the conclusion that Facebook Graph API limits are 600 requests per 600 sec per access token.

And since I am using the new Graph API only, I have never encounter the need of passing an access token manually. I believe one needs to pass on with the old REST API. It should mean that with every different user of my app, I have a different access token and my API limit for the next 600 secs is reset. Can anyone confirm?

What if I am using offline_access permission? I read somewhere that with offline_access permission the access token never changes and hence you can access data any time. True? Then in this case I just have the rate of 600 requests / 600 sec for this access token. Correct?

I am building an app that I believe will go viral, so I am trying not to be blocked out of my API usage. On a visit (it totally works on AJAX), I use 10-15 queries per user, so considering the rate, I am much below the rate at which I can use FB API?

So as a whole, I may have a million users for my app, letting me to do 600 requests / 600 sec for each user's access token, all simultaneously.

Can anyone please comment?

like image 461
Ashfame Avatar asked May 06 '11 11:05

Ashfame


1 Answers

API rate limits are primarily based on the number of users using the application. So as your app's popularity increases the total number of API calls you can make also increases. Under normal usage rate limits should not be an issue. Focus on being efficient on a per-user basis.

Note: offline_access is being deprecated - but it is easy to refresh user tokens: https://developers.facebook.com/roadmap/offline-access-removal/

like image 85
J Starr Avatar answered Oct 27 '22 15:10

J Starr