限速方案 [英] Rate Limiting Solution

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

问题描述

我正在开发一个软件应用程序,它使用 Facebook API 对公开帖子等进行搜索.

I am developing a software application that uses the Facebook API to conduct searches on open posts etc.

我想解决的问题是 Facebook API 施加的速率限制.

The issue I am trying to get my head around is rate limiting imposed by the Facebook API.

与我的类似的所有其他工具都是托管服务,而不是独立的软件应用程序.因此,我假设订阅该服务的客户在托管服务中受到全局限制.

All the other tools that do similar things to mine are managed services, not stand alone software applications. So I assume customers that subscribe to the service are throttled globally from within the managed service.

我的问题是我的产品是一个独立的软件应用程序.

My issue is that my product is a stand alone software application.

因此,如果我出售 100 个软件许可证并且所有 100 人同时尝试使用它,该应用程序可能会停止运行,因为 Facebook API 会对它们进行速率限制.

So if I sell 100 software licences and all 100 people try and use it at the same time the application could grind to a halt as the Facebook API will rate limit them.

应用程序将使用相同的应用程序 ID;据我所知,我必须这样做.

The application will use the same Application ID; as far as I know I have to.

有没有办法解决这个问题?

Is there aby solution to this problem?

推荐答案

当您计划构建您认为会超过起始阈值的应用程序时,您可以执行 Facebook 平台政策 建议,从那里引用

As you are planning to build application that you consider would just exceed the starting threshold, you may do what the Facebook Platform Policy suggest, quoting from there

如果您超过或计划超过以下任何阈值,请联系我们 因为您可能需要遵守附加条款:(> 500 万 MAU)或(> 1 亿次 API 调用)或(> 5000 万次展示/日).

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).

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

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