Instagram API速率限制并取消客户端? [英] Instagram API rate limits and taking down the client?

查看:90
本文介绍了Instagram API速率限制并取消客户端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我最近已将我的Instagram集成应用程序提交到市场,但我担心重复使用该应用程序的用户.如果某些用户未遵守速率限制,Instagram会自动限制其活动.但是我的问题是,这是否可能导致Instagram取消我的客户?我的意思是我必须在我的应用程序中应用限制以防止它们破坏我的客户吗?如果是这样,我该如何为紧急情况准备一个备份客户端?

So i recently have submitted my Instagram integration app to market, but I'm concerned about users who repeatedly use the app. If some users do not observe the rate limits, Instagram automatically limits their activity. But my question is whether this may result in Instagram taking down my client? I mean do i have to apply the limits within my app to prevent them from taking down my client? And if so, how can i have a backup client for emergency?

另外一个问题是,Instagram并未明确说明某些限制,而只是应用了一些限制,例如每小时的关注次数和不关注次数均与API调用限制无关.这些员工的确切限制是什么?我也必须遵守这些吗? 预先感谢.

And the other question is some limitations are not clearly stated by Instagram and are just applied, like limited number of follow and unfollow per hour which is independent from API call limits. What is the exact limitations about these staff? And do i have to observe these too? Thanks in advance.

推荐答案

由于第一个问题,我认为Instagram API开发人员会假设您将正确处理429个错误代码(超过小时数时将返回该错误代码)而且您不会向他们的API发送垃圾邮件.此外,在Instagram文档中,您可以找到以下语句:

Due to first question I think Instagram API developers assume that you'll handle 429 error code correctly (it'll be returned when you'll exceed hour limit) and you won't spam their API. Moreover, in Instagram doc you can find following statement:

如果我们检测到使用您的应用的用户的垃圾邮件行为,您可能还会收到HTTP响应代码为400(错误请求)的响应.这些错误与速率限制无关.

You may also receive responses with an HTTP response code of 400 (Bad Request) if we detect spammy behavior by a person using your app. These errors are unrelated to rate limiting.

所以我认为,如果从Instagram的角度来看,如果您收到400的大量回复,那是您应用程序的用户过失.

So I think, if you receive a lot of responses with 400, from Instagram point of view, it's yours app's user fault.

关于未记录端点的速率限制,您应直接联系instagram支持

About rate limits of undocumented endpoints, you should contact instagram support directly

这篇关于Instagram API速率限制并取消客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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