python - 当我使用 python-instagram 库时,instagram api 不断引发 'You must provide a client_id' 异常

标签 python oauth-2.0 instagram-api

我在 instagram 开发人员仪表板中注册了我的应用程序,并尝试使用 Facebook 制作的 python-instagram 库。

运行 sample_app.py 代码后,我访问了我的测试网站 (localhost:8515) 并使用我的 instagram id 成功登录。但是,由于这个异常“你必须提供一个client_id”,我无法获得访问代码

我也尝试过使用这个库(https://github.com/Seraphicer/python-instagram-ext)做同样的事情,这是因为他们提取请求的原始库并维护它。

最佳答案

有同样的问题,显然是由于 instagram api 或 httplib2 更新。为我修好了https://github.com/vgavro/python-instagram/commit/9dfc264571ad7c343af3899445d13afedf23e3aa (链接到我的 python-instagram 分支,其中包含我需要的补丁)

关于python - 当我使用 python-instagram 库时,instagram api 不断引发 'You must provide a client_id' 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38329960/

相关文章:

node.js - 谷歌 OAuth2 : Required parameter is missing: grant_type

javascript - 如何检查授权 token 是否过期并强制注销?

instagram - 在我的网站中显示我的 Instagram 照片

c# - 在没有 instagram api 的情况下通过 userid 检索用户名

python - 如何检查列表中的邻接关系,然后修复 python 中的邻接关系

javascript - 如何使用selenium选择没有id的下拉菜单

java - Spring Boot 2 Oauth 无限重定向

json - 检查 Instagram 帐户是公共(public)帐户还是私有(private)帐户

python - Firefox 附加组件 SDK 入门

python - 从 python 调用 gnuplot