Instagram API未返回关注者 [英] Instagram API not returning followers

查看:79
本文介绍了Instagram API未返回关注者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已通过Instagram进行身份验证,并获得了范围为follower_list的访问令牌.然后,我尝试获取我的关注者列表:

I'm authenticated with Instagram, and I got an access token with scope follower_list. Then I tried to get my followers list:

https://api.instagram.com/v1/users/self/followed-by?access_token=123.456

我得到的只是一个空数组,就像下面的

and all I got was an empty array, like following

{
    "pagination": {},
    "meta": {
        "code": 200
    },
    "data": []
}

我真的不知道这是Instagram方面的问题还是正常现象,因为我处于沙盒模式(尽管文档说即使在沙盒模式下我也可以期望获得真实数据)

I don't really know if this is a problem from Instagram side or this is an expected behavior since I'm on Sandbox mode (although the documentation says I can expect to get real data even on Sandbox mode)

推荐答案

这是预期的行为.

在沙盒模式下,您只会从您和您的沙盒用户那里获取数据.

In sandbox mode you will only get data from you and your sandbox users.

将您的关注者之一添加到沙箱中,然后只有该用户会收到API响应.上线后,所有用户都将收到API响应.

Add one of your followers to your sandbox, then only that user will be in API response. Once you go live, all users will be in API response.

这篇关于Instagram API未返回关注者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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