使用 Instagram 用户 ID 获取关注者列表

Get follower List with userID Instagram

如何使用 Instagram API 获取 Following/Followers 用户 ID 列表而不是 "self",该服务用于获取当前登录的 instagram 用户的关注列表并且有效

https://api.instagram.com/v1/users/self/follows?access_token=ACCESS-TOKEN

我尝试用 Instagram 用户的 ID 修改自己

https://api.instagram.com/v1/users/6675420875/follows?access_token=XXXX

但没有成功,响应是:

{
"meta": {
    "code": 400,
    "error_type": "APINotAllowedError",
    "error_message": "you cannot view this resource"
    }
}

此用户“6675420875”已被邀请并添加到沙盒模式中。

我知道受支持的 Api Instagram 自 6 月 16 日起不再支持此功能,但是否有任何解决方法?

您无法再为登录用户以外的任何用户获取 followers/following,自 2016 年 6 月 1 日起,您只能获取 self 中的 followers/following,而且只有当您拥有在 2017 年 10 月 1 日之前获得 following_list 的许可。