Instagram API rate limits and taking down the client?

六眼飞鱼酱① 提交于 2019-12-12 00:42:34

问题


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?

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.


回答1:


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:

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.

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

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



来源:https://stackoverflow.com/questions/37416195/instagram-api-rate-limits-and-taking-down-the-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!