限制Graph API调用的数量 [英] Limit on number of Graph API calls

查看:116
本文介绍了限制Graph API调用的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划开发一个应用程序,但开发人员告诉我,每个IP每600秒限制600个呼叫。该应用程序有足够的场景,这不足够。有没有办法增加极限呢?或者Facebook提供任何溢价帐户或可能每年费用没有这样的限制?



谢谢。

解决方案

如果您超过或计划超过以下任何阈值,请与我们联系,因为您可能需要附加条款:(> 5M MAU)或(> 100M API每天的电话)或(>每天> 500万次展示)。
从中扣除: https://developers.facebook.com/policy/



每天100M API查询应该是单个应用程序。所以这应该限制你,但我不认为这件事。



另一件事,你在你的问题中提到,我也读过其他地方。 >

我发现每600秒600个电话,每个令牌&每个IP是关于他们阻止你的地方。



从: http://www.quora.com/Whats-the-Facebook-Open-Graph-API-rate-limit



请注意,它是每个令牌。每个其他用户也有不同的访问令牌和IP。如果它恰好是从服务器运行的cron,那么只要你不断更改令牌,我还是认为他们会抓住你的IP。



另一件事实现是实时更新API,当某些变化时,它会ping你,所以你不必运行一个24 * 7监控脚本。



PS:实时更新是Buggy !自己经历过。


I am planning to get an app developed but the developer has told me that there is a limit of 600 calls per 600 seconds per IP. The app has plenty of scenarios in which this would not suffice. Is there a way to increase the limit somehow? Or does Facebook offer any premium account or something probably with a yearly fee that does not have such a limit?

Thanks.

解决方案

If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day). Pulled from : https://developers.facebook.com/policy/

100M API Queries per day should be for a single app. So that should restrict you, but I dont think that matters.

Another thing, what you mentioned in your question, and I have read that elsewhere as well.

I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you.

Pulled from : http://www.quora.com/Whats-the-Facebook-Open-Graph-API-rate-limit

Note, it is per token. Every other user has a different access token and IP as well. If it happens to be a cron running from the server, still I dont think they would catch you for the IP as long as you keep changing the tokens.

Another thing to implement is the Real time updates API, which will ping you when something changes so you dont have to run a 24*7 monitoring script.

P.S : Real Time Updates is Buggy! Have experienced it myself.

这篇关于限制Graph API调用的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆