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
Node.js Instagram API的空响应_Node.js_Instagram Api - Fatal编程技术网

Node.js Instagram API的空响应

Node.js Instagram API的空响应,node.js,instagram-api,Node.js,Instagram Api,我正在尝试以下代码: 我使用nodejs,express作为后端,request作为包 router.get('/',function(req, res, next){ request({ url: 'https://api.instagram.com/v1/tags/alibaba/media/recent?access_token=xxxxxxxx.xxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxx', method: 'GET'

我正在尝试以下代码: 我使用nodejs,express作为后端,request作为包

router.get('/',function(req, res, next){
    request({
        url: 'https://api.instagram.com/v1/tags/alibaba/media/recent?access_token=xxxxxxxx.xxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxx',
        method: 'GET',

    },function(err,status,body){
        var tags =JSON.parse(body);
        res.json(tags);
    });
});
但回应是:

{"pagination":{"deprecation_warning":"next_max_id and min_id are deprecated for this endpoint; use min_tag_id and max_tag_id instead"},"meta":{"code":200},"data":[]}
我创建了新的客户端,但错误是相同的


我能做什么?

你读了吗?我想你处于沙盒模式,它将只返回沙盒授权用户的媒体