Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 使用Instagram API和我自己的访问令牌,为什么';我没有得到任何用户';谁的数据?_Html_Instagram_Instagram Api - Fatal编程技术网

Html 使用Instagram API和我自己的访问令牌,为什么';我没有得到任何用户';谁的数据?

Html 使用Instagram API和我自己的访问令牌,为什么';我没有得到任何用户';谁的数据?,html,instagram,instagram-api,Html,Instagram,Instagram Api,我正在使用自己的访问令牌并调用链接https://api.instagram.com/v1/users/hacklifeprius/?access_token=ACCESS-代币 使用我自己的访问令牌,但我得到一个html页面,上面写着: 抱歉,此页面不可用。您关注的链接可能已断开,或者页面可能已被删除。返回Instagram。 但是,如果我将用户名更改为self,那么它就可以工作,我会得到一个json。这是上周的工作。发生什么事?顺便说一句,我在沙盒上。 第一点很重要,这意味着该API的行为

我正在使用自己的访问令牌并调用链接
https://api.instagram.com/v1/users/hacklifeprius/?access_token=ACCESS-代币

使用我自己的访问令牌,但我得到一个html页面,上面写着:

抱歉,此页面不可用。您关注的链接可能已断开,或者页面可能已被删除。返回Instagram。

但是,如果我将用户名更改为
self
,那么它就可以工作,我会得到一个json。这是上周的工作。发生什么事?顺便说一句,我在沙盒上。

第一点很重要,这意味着该API的行为就像Instagram上的唯一用户是您的沙盒用户一样,,唯一发布的媒体是这些用户的最后20个


我应该输入Instagram用户的ID号,而不是用户名。

但我在沙箱中。@Jonathanalengrant是hacklifeprius?是的,这是我使用开发者的帐户sandbox@JonathanAllenGrant如果该帐户是该应用程序的管理员或10个沙盒用户之一,那么您的下一个求助渠道似乎是向Instagram报告错误。