Instagram 是否在 2018 年 3 月 30 日更改了 API 速率限制?
Did Instagram change API rate limits on Mar 30, 2018?
我使用一些自行开发的脚本来获取有关我的帖子和关注者的信息。最近我发现 Instagram 更改了我的应用程序的速率限制。我在 headers 中看到以下信息:
x-ratelimit-limit: 200
我了解到 Instagram 博客和页面有变化,但没有发现自 2017 年 10 月 1 日以来的任何变化。
这个新限制是只与我的令牌有关还是与整个平台有关?你能检查一下你的令牌吗?
是的,虽然没有正式沟通。
我也经历过。
我在他们的文档中找到了这个。
Instagram API 使用与 Graph API 相同的速率限制(每位用户每小时 200 次调用),但有一个例外:/media/comments 边缘限制每个用户每小时写入 60 次。请参阅图表 API 的速率限制文档以获取更多信息。
https://developers.facebook.com/docs/instagram-api/overview/#rate-limiting
https://techcrunch.com/2018/04/02/instagram-api-limit/
希望这会有所帮助。
更新:-
4 月 4 日,还有一些 API 被 Instagram 弃用。
一些观点:
这个每小时 200 次的通话已在 Graph API 文档中至少存在一个月(根据 wayback machine)。
Facebook 一定在周末惊慌失措,按下了 "require Graph API permissions" 按钮,这就是我们目前的情况。 :\
是的,
限制已降低。
以下是详细文档的一些参考链接:
https://techcrunch.com/2018/04/02/instagram-api-limit/
https://developers.facebook.com/docs/instagram-api/overview/#rate-limiting
希望对您有所帮助
谢谢
这是我们的答案:https://www.instagram.com/developer/changelog/
API 立即弃用。所以实际上,限制可能不再那么重要了。我真的不认为自己会根据他们的 API...
构建另一个应用程序
这是新版 Instagram 的 Public Api 更新,不幸的是,限制费率对于 Instagram 中的某些功能毫无价值。
2018 年 4 月 4 日
The following endpoints are deprecated immediately:
Follows and Relationships
GET /users/self/follows
GET /users/self/followed-by
GET /users/self/requested-by
GET /users/{user-id}/relationship
POST /users/{user-id}/relationship
Commenting on Public Content
GET /media/{media-id}/comments (Deprecation not relevant when fetching comments for self media)
POST /media/{media-id}/comments
DEL /media/{media-id}/comments/comment-id
Media
GET /media/{media-id}
GET /media/shortcode/{shortcode}
Likes
GET /media/{media-id}/likes
POST /media/{media-id}/likes
DEL /media/{media-id}/likes
User Search
GET /users/{user-id}
GET /users/{user-id}/media/recent
GET /users/self/media/liked
GET /users/search
Subscriptions - to receive notifications when media is posted
Some information on Public Content returned through hashtag and location search will be removed - Name, Bio, Comments, Commenters, Follower Count, Following Count, Post Count, and Profile Picture
我使用一些自行开发的脚本来获取有关我的帖子和关注者的信息。最近我发现 Instagram 更改了我的应用程序的速率限制。我在 headers 中看到以下信息:
x-ratelimit-limit: 200
我了解到 Instagram 博客和页面有变化,但没有发现自 2017 年 10 月 1 日以来的任何变化。
这个新限制是只与我的令牌有关还是与整个平台有关?你能检查一下你的令牌吗?
是的,虽然没有正式沟通。 我也经历过。 我在他们的文档中找到了这个。
Instagram API 使用与 Graph API 相同的速率限制(每位用户每小时 200 次调用),但有一个例外:/media/comments 边缘限制每个用户每小时写入 60 次。请参阅图表 API 的速率限制文档以获取更多信息。
https://developers.facebook.com/docs/instagram-api/overview/#rate-limiting
https://techcrunch.com/2018/04/02/instagram-api-limit/ 希望这会有所帮助。
更新:-
4 月 4 日,还有一些 API 被 Instagram 弃用。
一些观点:
这个每小时 200 次的通话已在 Graph API 文档中至少存在一个月(根据 wayback machine)。
Facebook 一定在周末惊慌失措,按下了 "require Graph API permissions" 按钮,这就是我们目前的情况。 :\
是的,
限制已降低。
以下是详细文档的一些参考链接:
https://techcrunch.com/2018/04/02/instagram-api-limit/
https://developers.facebook.com/docs/instagram-api/overview/#rate-limiting
希望对您有所帮助
谢谢
这是我们的答案:https://www.instagram.com/developer/changelog/
API 立即弃用。所以实际上,限制可能不再那么重要了。我真的不认为自己会根据他们的 API...
构建另一个应用程序这是新版 Instagram 的 Public Api 更新,不幸的是,限制费率对于 Instagram 中的某些功能毫无价值。 2018 年 4 月 4 日
The following endpoints are deprecated immediately:
Follows and Relationships
GET /users/self/follows
GET /users/self/followed-by
GET /users/self/requested-by
GET /users/{user-id}/relationship
POST /users/{user-id}/relationship
Commenting on Public Content
GET /media/{media-id}/comments (Deprecation not relevant when fetching comments for self media)
POST /media/{media-id}/comments
DEL /media/{media-id}/comments/comment-id
Media
GET /media/{media-id}
GET /media/shortcode/{shortcode}
Likes
GET /media/{media-id}/likes
POST /media/{media-id}/likes
DEL /media/{media-id}/likes
User Search
GET /users/{user-id}
GET /users/{user-id}/media/recent
GET /users/self/media/liked
GET /users/search
Subscriptions - to receive notifications when media is posted
Some information on Public Content returned through hashtag and location search will be removed - Name, Bio, Comments, Commenters, Follower Count, Following Count, Post Count, and Profile Picture