使用userID Instagram获取关注者列表 [英] Get follower List with userID Instagram

查看:391
本文介绍了使用userID Instagram获取关注者列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何使用Instagram API使用UserID而不是"self"获取关注/关注者列表,该服务用于获取当前已登录的instagram用户的关注者列表,并且可以正常工作

How can I get Following/Followers List with UserID rather than "self" using Instagram API, the service for getting list of follows for current instagram user logged in and it works

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

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

I try to modify self with an ID of Instagram User

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"已被邀请并以沙盒模式添加.

this user "6675420875" already invited and added in sandbox mode.

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

I know the supported Api of Instagram doesn't support this anymore since June 16 but is there any workaround for this?

推荐答案

除登录用户外,您无法再获得其他用户的关注者/关注,截至2016年6月1日,您只能获取self的关注者/关注并且仅当您在2017年10月1日之前已获得following_list的许可.

You cannot get followers/following for any user other than logged in users anymore, As of June 1 2016, you can only get followers/following of self and also only if you have been approved permission for following_list before Oct 1 2017.

这篇关于使用userID Instagram获取关注者列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆