【问题标题】:Issue getting the list of followers using Instagram API?使用 Instagram API 获取关注者列表时出现问题?
【发布时间】:2018-07-17 10:36:48
【问题描述】:

我正在使用 Instagram API 并尝试获取关注者列表但 API 返回 错误。请告诉我这个问题的可能原因

网址: https://api.instagram.com/v1/users/self/follows?access_token=MY_ACCESS_TOKEN

{
"meta": {
"code": 400,
"error_type": "OAuthPermissionsException",
"error_message": "This request requires scope=follower_list, but this access token is not authorized with this scope. The user must re-authorize your application with scope=follower_list to be granted this permissions."
}
}

【问题讨论】:

    标签: instagram instagram-api


    【解决方案1】:

    您的错误信息说明了一切:您需要使用 scope=follower_list 重新授权才能获得权限。

    可能类似于:https://api.instagram.com/oauth/authorize?client_id=XXXX&redirect_uri=YYYYY&scope=basic+follower_list

    【讨论】:

    • 我用这个 api 重新授权,但他们返回这个错误 {"error_type": "OAuthException", "code": 400, "error_message": "You must include a valid client_id, response_type, and redirect_uri 参数"}
    • 我花了一些时间登录 instagram 开发者并尝试创建一个新客户端,但那里显示:“从 2017 年 10 月 1 日开始,除了基本权限之外的所有权限都将无法提交为或获得。”所以我觉得你运气不好。在 SO 上也找到了这个线程:stackoverflow.com/questions/46313375/…
    • 你的意思是根据instagram的新规则现在我们无法使用instagram api获取关注者列表?
    • 我猜是的。但是不要对 Instagram API 做任何事情,我也不为他们工作,所以这都是假设。
    猜你喜欢
    • 2017-09-23
    • 1970-01-01
    • 2019-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多