首页 文章

Instagram位置endpoind media / recent总是返回空数组

提问于
浏览
3

我总是通过https://api.instagram.com/v1/locations/LOCATION-ID/media/recent?access_token=ACCESS-TOKEN得到空的JSON响应

例如api.instagram.com/v1/locations/215700153/media/recent?access_token=ACCESS-TOKEN

JSON响应:

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

Althouh我尝试了其他一些位置ID,所有结果都是空的 .

有什么建议?

..例如关于我的ACCESS-TOKEN https://api.instagram.com/v1/locations/search?lat=48.858844&lng=2.294351&access_token=ACCESS-TOKEN正确返回数组的位置参数scope = public_content

2 回答

  • 3

    它现在有效 . 但是,响应取决于您的令牌 . 有些令牌似乎有效,但会给你空洞的回复 .

    在我遇到这个问题后,我开始使用http://services.chrisriversdesign.com/instagram-token/服务生成Instagram令牌,这些令牌可以正确处理Instagram媒体API请求 .

  • 0

    我现在正在经历同样的事情 .

    Here's what most likely caused the OP issue:

    根据您的帖子的日期和时间判断,这是Facebook和Instagram服务器停机约90分钟的问题 .

    根据1月26日的帖子Facebook's developer page: "Facebook and Instagram experienced a major outage tonight from 22:10 until 23:10 PST. Our engineers identified the cause of the outage and recovered the site quickly. You should now see decreasing error rates while our systems stabilize. We don't expect any other break in service. I'll post another update within 30 mins. Thank you for your patience."

相关问题