Instagram Api错误代码400无效的响应类型



我正试图通过单击"使用Instagram登录">按钮来验证用户身份。但是得到这个错误:

{"error_type": "OAuthException", "code": 400, "error_message": "Invalid response type: "}

这是我正在使用的OAuth:

<a href="https://api.instagram.com/oauth/authorize/?app_id=<?php echo APP_ID; ?>&redirect_uri=<?php echo urlencode(REDIRECT_URI); ?>&scope=user_profile,user_media&responce_type=code" >login with instagram</a>

我遵循本指南:https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions

我查看了错误代码列表,但无法验证这个错误的确切含义,我只是严格遵循指南。如果以前熟悉这个问题的人愿意看到你的答案。

哎呀!我刚才键入的错误responsce_type=code而不是responsse_type=code

最新更新