目前是否有无需身份验证即可获取 Instagram 用户媒体的信息?
Is there CURRENTLY anyway to fetch Instagram user media without authentication?
直到最近,有几种方法可以在不需要 API 身份验证的情况下检索 Instagram 用户媒体。但显然,该网站停止了所有这些。
一些旧的方法:
和一些旧相关的问题是:
How can I get a user's media from Instagram without authenticating as a user?
我可以通过 抓取 用户的网页来检索前二十个项目,但这不是一个好的或标准的方法,尤其是当 Instagram 不正式支持它时。
我想知道您是否知道目前有效的方法?
不幸的是,Instagram 停止了许多 APIs,包括那些需要身份验证的。它在 https://www.instagram.com/developer/ 中声明:
To continuously improve Instagram users' privacy and security, we are
accelerating the deprecation of Instagram API Platform, making the
following changes effective immediately.
解释这些变化的细节和原因的一些链接:
(@Louis B.建议)中提出了一些非官方的爬取方法。您应该考虑到这些方法每周都会发生变化。因此,我肯定更喜欢使用 private API.
更新:
旧的 public API(没有授权)又可以工作了。我们可以通过在配置文件 url 的末尾添加 ?__a=1
来访问,例如 this:
https://www.instagram.com/leomessi/?__a=1
直到最近,有几种方法可以在不需要 API 身份验证的情况下检索 Instagram 用户媒体。但显然,该网站停止了所有这些。
一些旧的方法:
和一些旧相关的问题是:
How can I get a user's media from Instagram without authenticating as a user?
我可以通过 抓取 用户的网页来检索前二十个项目,但这不是一个好的或标准的方法,尤其是当 Instagram 不正式支持它时。
我想知道您是否知道目前有效的方法?
不幸的是,Instagram 停止了许多 APIs,包括那些需要身份验证的。它在 https://www.instagram.com/developer/ 中声明:
To continuously improve Instagram users' privacy and security, we are accelerating the deprecation of Instagram API Platform, making the following changes effective immediately.
解释这些变化的细节和原因的一些链接:
(@Louis B.建议)
更新:
旧的 public API(没有授权)又可以工作了。我们可以通过在配置文件 url 的末尾添加 ?__a=1
来访问,例如 this:
https://www.instagram.com/leomessi/?__a=1