Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/265.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
Php A从instagram获取最新照片时不允许出错_Php_Instagram_Instagram Api - Fatal编程技术网

Php A从instagram获取最新照片时不允许出错

Php A从instagram获取最新照片时不允许出错,php,instagram,instagram-api,Php,Instagram,Instagram Api,我在使用媒体/最新API时遇到以下错误 { "meta": { "error_type": "APINotAllowedError", "code": 400, "error_message": "This tag cannot be viewed" } } 我已尝试使用客户端Id和访问令牌 https://api.instagram.com/v1/tags/mytag/media/recent?client_id=clientId 或 另外,我在不同的Ins

我在使用媒体/最新API时遇到以下错误

{
  "meta": {
    "error_type": "APINotAllowedError",
    "code": 400,
    "error_message": "This tag cannot be viewed"
  }
}
我已尝试使用客户端Id和访问令牌

https://api.instagram.com/v1/tags/mytag/media/recent?client_id=clientId

另外,我在不同的Instagram帐户中创建了新的应用程序,并尝试了。这给了我同样的错误

仅对于特定的hashtag,我得到了这个错误,对于其他hashtag,我得到了正确的响应

请帮帮我

https://api.instagram.com/v1/tags/mytag?access_token=accesstokem