首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Instagram API错误请求

Instagram API错误请求
EN

Stack Overflow用户
提问于 2015-02-21 23:24:13
回答 1查看 1.2K关注 0票数 0

我有一个网络应用程序,允许用户通过他们的instagram帐户登录。我已经在Instagram上注册了我的应用。

当用户单击登录按钮时,我将他引导到instagram页面进行登录:

代码语言:javascript
复制
https://instagram.com/oauth/authorize/?scope=basic+relationships&client_id={MyClientId}&redirect_uri={My call back aspx page}&response_type=token

在获得访问令牌后,我尝试通过向此链接发送get请求来获取用户的关注者:

代码语言:javascript
复制
https://api.instagram.com/v1/users/201199350/follows?access_token={The access token i've got from the previous step}

对于我的帐户(这是应用程序注册的帐户),它工作得很好。

但当我试图从其他账户获取“关注”时,问题就出现了。我收到'Bad request 400‘错误。

我该如何解决这个问题?

谢谢你!!

EN

回答 1

Stack Overflow用户

发布于 2015-02-22 17:01:57

这是一个悬而未决的问题,因为error 400意味着用户not allowednot found (被垃圾邮件/僵尸系统删除)。此外,如果身份验证用户不是私有用户的followers,则无法获取该用户的follower

对于来自第一个链接的身份验证用户,您可以使用https://api.instagram.com/v1/users/self/follows?access_token={The access token i've got from the previous step}链接。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28647440

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档