首先,这是我登录后的 Instagram URL:
\n\nhttps://www.instagram.com/oauth/authorize?client_id=$MYCL\xc4\xb0ENT\xc4\xb0D&redirect_uri=https://localhost:4000/\xc4\xb0nstagram/Insta.php/&response_type=code&scope=user_profile,user_media\n
Run Code Online (Sandbox Code Playgroud)\n\n这是页面向我显示的错误:
\n\n\n\n\n{“error_type”:“OAuthException”,“code”:400,“error_message”:“无效的redirect_uri”}
\n
当我尝试从 Instagram 获取用户令牌时,出现该错误。
\n我尝试更改redirect_uri=(Valid OAuth Redirect URIs)
,但错误与以前相同。