use*_*173 17 instagram instagram-api
我正试图通过他们的REST服务从Instagram获取medida数据.我有一个访问令牌并尝试获取一些媒体数据,我正在使用此查询
https://api.instagram.com/v1/users/184692323/media/recent/?access_token=
Run Code Online (Sandbox Code Playgroud)
我收到了这个回复
{"meta":{"error_type":"APINotFoundError","code":400,"error_message":"this user does not exist"}}
Run Code Online (Sandbox Code Playgroud)
用户ID确实存在,我实际上尝试使用Lady Gaga的用户ID,我从这里获得:http://jelled.com/instagram/lookup-user-id# 当我使用我的用户ID时,它可以工作.它似乎不适用于其他用户ID.
我能做什么?这是否与这些新的"沙盒"规则有关?
Den*_*nis 23
我认为你仍然在Instagram Sandbox模式下运行:https://www.instagram.com/developer/sandbox/.
引用他们的页面: For example, if you query the /users/{user-id}/ endpoint and the {user-id} is a sandbox user, then you will get the normal API response; but if the {user-id} is not a sandbox user, you will get a APINotFound error.
对于非沙箱用户,我有同样的问题,这些用户是公开的但是Instagram返回它不是有效用户.所以文档似乎是正确的.
| 归档时间: |
|
| 查看次数: |
16827 次 |
| 最近记录: |