开发者

Facebook Graph API limit [duplicate]

This question already has answers here: What's the Facebook's Graph API call limit? (5 answers) Closed 4 years ago.

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 tok开发者_如何转开发en 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?


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/


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

Quoted from : https://www.stackoverflow.com/a/33103876
Documentation : https://developers.facebook.com/docs/graph-api/advanced/rate-limiting

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜