【发布时间】:2020-03-29 18:56:50
【问题描述】:
我正在调用 instagram API 进行身份验证,如 here 所述。
所以我打电话(使用正确的 instagram-app-id 和 redirect-uri):
https://api.instagram.com/oauth/authorize
?client_id={instagram-app-id}
&redirect_uri={redirect-uri}
&scope=user_profile,user_media
&response_type=code
但我收到以下错误/响应:
{"error_type": "OAuthException", "code": 400, "error_message": "Cannot access app due to app restrictions"}
我获得了必要的 instagram_graph_user_profile 和 instagram_graph_user_media 权限(通过 Instagram Basic Display 的 App Review)。
我找不到有关此“应用程序限制”错误的任何信息。我没有设置应用限制。什么可能导致此错误?
【问题讨论】:
标签: facebook instagram instagram-api instagram-graph-api