首页 文章

Instagram API媒体/流行 endpoints 返回空列表

提问于
浏览
2

现在看到来自以下API endpoints 的空返回约12小时(至少) . 还有其他人有这个问题吗?

https://api.instagram.com/v1/media/popular?client_id=

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

2 回答

  • 0

    UPDATE 1:

    这似乎是一个问题 . 你应该联系 support@instagram.com

    我也面对它 . 这是我使用我的Instagram登录进行身份验证后获得的 /media/popular endpoints GET . 返回的JSON显示HTTP状态代码 200 ,但 data 数组为空/空 .

    HTTP / 1.1 200 OK内容 - 语言:en X-Ratelimit-Limit:5000变化:Cookie,Accept-Language

    Date:
    Thu, 30 Jan 2014 17:26:03 GMT
    Content-Length:
    31
    X-Ratelimit-Remaining:
    4999
    Set-Cookie:
    csrftoken=c359b115ff344c48dfd1df1108aaf38b; expires=Thu, 29-Jan-2015 17:26:03 GMT; Max-Age=31449600; Path=/
    Set-Cookie:
    ccode=US; Path=/
    Content-Type:
    application/json; charset=utf-8
    Server:
    nginx
    
    {
      "meta":  {
        "code": 200
      },
      "data":  []
    }
    

    enter image description here

    PREVIOUS ANSWER (已弃用)

    media/popular 是经过身份验证的请求,因此您不应该为此请求传入 access_token 而不是 client_id 吗?

    通过the API Documentation

    https://api.instagram.com/v1/media/popular?access_token=ACCESS-TOKEN
    

    另外,here's如何使用 client_id 获得 access_token .

  • 0

    他们的API页面和开发人员门户网站似乎因GATEWAY错误而失败 . 我猜他们现在正在处理一些事情 .

相关问题