我已经取得了public_content范围的许可。Instagram api用户
下面的php代码,我创建。
如果用户($ id5)不是access_token的所有者,则不存在数据返回。
感谢任何帮助。
-user is exists。
- 如果用户是所有者,则返回数据。
php code: $ json5 = @file_get_contents(“https://api.instagram.com/v1/users/ {$ id5} /?access_token = [MY-ACCESS-TOKEN]”);
$ json_deco5 = json_decode($ json5,true);
print_r($ json_deco5);
此代码是根据下面的页面创建:
https://www.instagram.com/developer/endpoints/users/