Facebook Graph API 的批量请求限制是多少?
有谁知道使用FBs graph API时批量请求的限制是多少? 从他们的文档中:
限制
我们目前将批量请求的数量限制为 20 个。
这还不清楚。是每 600 秒 20 次吗?每天?一个应用程序总共有多少?
Does anyone know whats the limit for batch requests when using FBs graph API?
From their documentation:
Limit
We currently limit the number of batch requests to 20.
That's not clear. Is that 20 per 600 seconds? Per day? Total for one app ever?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
现在已经50了。 50 个请求/批次
It is 50 now. 50 request/batch
这意味着允许将 20 个单独的请求一起批处理为一个批处理请求,这样您就不必同时发送 20 个单独的 http 请求。
It means that 20 individual requests are allowed to be batched together into a single batched request, which saves you from sending 20 individual http requests over at the same time.
如果您有超过二十 (20) 个数组,您可以构建一个数组,然后将它们分成 20 个或更少的组,并在一个“会话”中通过 PHP 循环它们。我们有一个应用程序将运行 600 - 700 个 OG 请求,但速度很慢,有时长达 300 秒,具体取决于 FB。
If you have more than twenty (20) you can build an array and then break them into groups of 20 or less and loop them thru your PHP in one "session". We have one app that will run 600 - 700 OG requests but it is sloooooooow, up to 300 seconds, some times, depending on FB.