简体   繁体   English

Facebook营销API速率限制

[英]Facebook Marketing API Rate Limit

I know that fb have made available some documentation about the requests limits to the api https://developers.facebook.com/docs/marketing-api/api-rate-limiting , but it is not clear how each api call is calculated... 我知道fb已经提供了一些关于api https://developers.facebook.com/docs/marketing-api/api-rate-limiting的请求限制的文档,但是不清楚每个api调用是如何计算的。 ..

ie, If I want to get stats for ~10,000 adsets, how can I evenly space the time between the calls ? 即,如果我想获得~10000个广告的统计数据,我怎样才能在呼叫之间均匀分配时间?

The best answer i could find for this question from another SO thread - 我可以从另一个SO线程找到这个问题的最佳答案 -

"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. “经过与Facebook平台团队的一些测试和讨论后,我没有官方限制或者可以在文档中找到。但是,我发现600个电话每600秒,每个令牌和每个IP都在哪里他们阻止了你。我也看到了一些基于应用程序的速率限制,但没有任何数字。

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." 从表面上看,这似乎非常严格,但请记住,您可以批量调用某些调用并使用订阅API来获取更改。“

Source - What's the Facebook's Graph API call limit? 来源 - Facebook的Graph API调用限制是什么?

Official Doc-: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting 官方文件: https//developers.facebook.com/docs/graph-api/advanced/rate-limiting

Rate limits are imposed on each app. 每个应用都会施加费率限制。 The rate limiting tool gives you information about how close your app is to being throttled. 速率限制工具可为您提供有关应用程序被限制的接近程度的信息。 Click on any sample to get more detail on the types of utilization. 单击任何样本以获取有关利用类型的更多详细信息。

Your app can make 200 calls per hour per user in aggregate. 您的应用可以合计每位用户每小时拨打200个电话。 As an example, if your app has 100 users, this means that your app can make 20,000 calls. 例如,如果您的应用有100个用户,这意味着您的应用可以拨打20,000个电话。 This isn't a per-user limit, so one user could make 19,000 of those calls and another could make 1,000. 这不是每用户限制,因此一个用户可以拨打19,000个这样的呼叫而另一个用户可以拨打1,000个。 This limit is calculated based on the number of calls made in the previous hour. 此限制是根据前一小时的呼叫数计算的。

Source-: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting 来源: https//developers.facebook.com/docs/graph-api/advanced/rate-limiting

Heavily rate-limited per ad account. 每个广告帐户的费率受限。 For development only. 仅用于开发。 Not for production apps running for live advertisers. 不适用于为实时广告客户投放的制作应用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM