如何避免instagram错误429每小时已超过最大请求数 [英] How to avoid instagram error 429 The maximum number of requests per hour has been exceeded

查看:666
本文介绍了如何避免instagram错误429每小时已超过最大请求数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从10月31日星期六开始执行一个删除Instagram上的评论的应用程序,当我使用API​​删除评论时收到此响应:

I do an application which deletes comments on Instagram since Saturday 31st of October, I get this response when I use API to delete comments:

{"error_type":"OAuthRateLimitException","code":429,"error_message":"The maximum number of requests per hour has been exceeded...."}}.

我看到他们在一年前对请求数量的限制进行了修改,但是自更新之前,我在执行过程中没有出现此错误. 如何避免呢? 是否有必要检索新令牌,或者有另一种避免令牌的方法?

I see that they did a modification one year ago for the limits of the number of requests, but I don't have this error during this execution since before the update. How to avoid it? Is it necessary to retrieve a new token or is there an another way to avoid it?

推荐答案

使用安全API请求获得更高的限制,我想您错过了来自Instagram的电子邮件:

Use secure API request to get higher limit, I think u missed this email from Instagram:

当我们发布喜欢/关系的发布准则时 动作,我们还引入了一种新技术来签名API请求.作为 在本公告的一部分中,我们为之前的日期设置了弃用日期 签名标头功能到2015年9月1日.

When we announced our publishing guidelines for likes/relationship actions, we also introduced a new technique to sign API requests. As part of this announcement we set a deprecation date for the previous signed-headers functionality to Sept 1, 2015.

此电子邮件是为了通知您,现已支持对签名标头 不推荐使用.我们知道许多开发人员(包括您的 公司)仍在使用此选项,并且已将您的白名单 client_id延长了一段时间.请计划迁移到 尽快通过签名请求保护您的应用程序. 您可以在此处了解有关此功能的更多信息: https://instagram.com/developer/secure-api-requests/.

This email is to let you know that support for signed-headers has now been deprecated. We know that a number of developers (including your company) are still relying on this option, and have whitelisted your client_id for an extended period. Please plan the migration to securing your application with signed-requests as soon as possible. You can learn more about this feature here: https://instagram.com/developer/secure-api-requests/.

扩展支持将于2015年11月1日终止.您将看到自己的 如果您发布喜欢/关注/评论的速率限制降低 在此日期之后还没有迁移.

The extended support will end on Nov 1 2015. You will see your rate-limits for publishing likes/follows/comments reduced if you haven’t migrated after this date.

这篇关于如何避免instagram错误429每小时已超过最大请求数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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