python - 如何以编程方式发布到 instagram

标签 python automation instagram instagram-api

好吧,我真的很困惑......

关于这方面的帖子似乎很少,但都已过时,因为我已经尝试了大约 15 种不同的 python 机器人和代码部分,但无法让它们工作。

似乎 API 在过去一年中发生了变化,因此每个拥有可用机器人的开发人员现在都无法使用。

我不明白为什么,因为有像 Later .com 和其他允许人们发布到他们的 Instagram 帐户的服务。所以必须有一种可编程的方式来做到这一点。

我查看了他们 API 的 API 文档,但我只能找到 2 个,但没有一个允许发布到您的个人资料:

  1. Instagram 图谱 API

The API can be used to get their media, manage and reply to comments on their media, identify media where they have been @mentioned by other Instagram users, find hashtagged media, and get basic metadata and metrics about other Instagram Businesses and Creators.

这只是说获取他们的媒体,而不是发布。

  1. Instagram 基本显示 API

The API can be used to access any type of Instagram account but only provides read-access to basic data. If you are building an app that will allow Instagram Businesses or Creators to publish media, moderate comments, identify @mentioned and hashtagged media, or get data about other Instagram users, use the Instagram Graph API instead.

这个说如果我想发布媒体,那么我应该去 Instagram Graph API,同样没有说我可以发布。

为了本次 session ,假设我应该使用的是 Instagram Graph API。对此的要求是:

Before you can switch your app to Live Mode you must complete the App Review process. You can begin the process in the App Review > Permissions and Features tab within the App Dashboard. All Instagram Graph API permissions except for pages_show_list require App Review approval.

Once you complete App Review you will be asked to complete Business Verification. You must complete verification before your app will be able to use Advanced Access Levels.

我想做的就是自动发布我的个人 Instagram 帐户,这样我就可以批量编辑照片并在一天内完成所有这些工作,而无需创建人们可以使用的完整的实时应用程序或业务。

拜托,为了所有自动化的热爱,请为我指明正确的方向来做这件事..

最佳答案

instagram API 不支持上传图片。

我也对发现这一点必须付出多少努力感到沮丧。毕竟,发布图像似乎是 API 的基本用例。我希望有一个 FAQ 页面或大胆的免责声明来明确说明。

github 上有一些项目支持以不受支持的方式发布到 Instagram(例如,使用“私有(private)”api,或模拟 Instagram 应用程序)。我个人没有使用过这些解决方案中的任何一个,但想提一下它们的存在。

关于python - 如何以编程方式发布到 instagram,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64084202/

相关文章:

python - 不断收到此错误,不确定为什么 "Can' t 将 'set' 对象隐式转换为 str”

python - 如何用 pandas reshape 数据框

javascript - Cypress 解析 XML 响应

jakarta-ee - Instagram API 错误 500 个带有强制签名的 UTF-8 主题标签

api - 针对标记内容的新 Instagram API 限制的解决方法

python - 通过拆分键对字典进行排序

python - 如何覆盖数据框第一行的值

Java:是否有一些工具能够将 X[][] 重构为 List<List<X>>?

在 Windows 上从命令行自动部署 iOS

带有 min_id 的 Instagram API/v1/users/self/media/recent 没有像文档所说的那样执行