像 Statigram 这样的网页如何不超过 Instagram API 速率限制 [英] How webpages like Statigram doesn't exceed Instagram API rate limits

查看:40
本文介绍了像 Statigram 这样的网页如何不超过 Instagram API 速率限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯,几乎是罐头上写的.

Well, pretty much what it says on the tin.

我真的很好奇像 Statigram 这样的页面如何在没有用户身份验证和不超出限制的情况下执行其搜索功能?

I'm really curious about how pages like Statigram do their search functionality without users authentication and not exceeding the limits?

如果我是对的,Instagram API 允许每小时 5000 次调用,所以我相信他们的流量很可能确实超过每小时 5000 次请求.

If I'm correct, Instagram API allows 5000 calls per hour, so I believe it's very likely that they indeed have more traffic than 5000 requests per hour.

也许这是一个愚蠢的问题,Statigram 与 Instagram 签订了使用他们的 API 的特殊协议,或者他们可能不使用 API 而使用其他方法?

Maybe It's a dumb question and Statigram has a special deal with Instagram to use their API or maybe they don't use the API and they use some other method?

推荐答案

他们很可能正在使用以下方法之一:

Most likely they're using one of the following methods:

  • 与 Instagram 的约定
  • 凭证轮换
  • IP 轮换
  • 重缓存(尤其是跨凭据或 IP)
  • 屏幕抓取

在这种情况下,如果您没有特殊安排,几乎可以肯定您违反了服务条款.如果您认为您的服务足够有用,以至于 Instagram 愿意将您列入白名单以提出更多请求,请与他们联系.

In cases like this, if you don't have a special arrangement, you're almost certainly violating the terms of service. If you think your service is useful enough that Instagram would be willing to whitelist you to make more requests, get in touch with them.

这篇关于像 Statigram 这样的网页如何不超过 Instagram API 速率限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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