无论如何,目前是否可以在没有身份验证的情况下获取 Instagram 用户媒体? [英] Is there CURRENTLY anyway to fetch Instagram user media without authentication?

查看:23
本文介绍了无论如何,目前是否可以在没有身份验证的情况下获取 Instagram 用户媒体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到最近,有多种方法可以在不需要 API 身份验证的情况下检索 Instagram 用户媒体.但显然,该网站阻止了所有这些.

Until recently there were several ways to retrieve Instagram user media without the need for API authentication. But apparently, the website stopped all of them.

一些方法:

https://www.instagram.com/user-id/media

https://www.instagram.com/user-id/?__a=1

一些相关问题是:

现在有没有办法在不使用访问令牌的情况下获取 instagram 提要(06/2016)?

我能够通过抓取用户的网页来检索前二十个项目,但这不是一个好的或标准的方法,尤其是当 Instagram 不正式支持时.

I was able to retrieve the first twenty items by crawling the webpage of the user, but this is not a good or standard method especially when Instagram is not supporting it officially.

我想知道您是否知道目前有效的任何方法?

I was wondering If you know any method that currently works?

推荐答案

不幸的是,Instagram 停止了许多 API,包括需要身份验证的 API.它在 https://www.instagram.com/developer/ 中说明:

Unfortunately, Instagram stopped many of its APIs, including the ones that require authentication. It states in https://www.instagram.com/developer/:

为了不断改善 Instagram 用户的隐私和安全,我们正在加速弃用 Instagram API 平台,使以下更改立即生效.

To continuously improve Instagram users' privacy and security, we are accelerating the deprecation of Instagram API Platform, making the following changes effective immediately.

解释这些变化的细节和原因的一些链接:

Some links explaining the details and causes of these changes:

https://techcrunch.com/2018/04/02/instagram-api-limit/

https:///www.macrumors.com/2018/04/04/instagram-disables-third-party-app-apis/

在(@Louis B. 建议)https://stackoverflow.com/a/49906525 中提出了一些非官方的爬取方法/278840.您应该考虑到这些方法每周都在转变.因此,我绝对更喜欢使用私有 API.

Some unofficial crawling methods have been proposed in (suggested by @Louis B.) https://stackoverflow.com/a/49906525/278840. You should take into consideration that these methods are being transformed each week. Therefore, I definitely prefer to use the private API.

更新:

旧的公共 API(无身份验证)再次运行.我们可以通过在个人资料网址的末尾添加 ?__a=1 来访问,例如 这个:

The old public API (without auth) is working again. We can access by adding ?__a=1 to the end of a profile url, like this:

https://www.instagram.com/leomessi/?__a=1

这篇关于无论如何,目前是否可以在没有身份验证的情况下获取 Instagram 用户媒体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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