Instragram 重定向 URL 问题 error_message”“无效范围:[]”
我假设重定向网址中“#”的问题,因此
编码确实编码了哈希值,所以我使用了 encodeURIComponent("#")
现在 '#' 变成 '%23' 并且 url 看起来像这样
https://www.instagram.com/oauth/authorize?client_id=\
但是我我明白了-->
error_type“OAuthException”
代码 400
error_message “无效范围:[]”
我正在尝试从重定向 URL 获取令牌并获取已登录用户的媒体
I am assuming that the problem with '#' in redirect url so
encode does encode hash so I have used
encodeURIComponent("#")
now '#' become '%23' and url looking like this
https://www.instagram.com/oauth/authorize?client_id=\<CLIENT_ID>&redirect_uri=https://dev.eventify.io/%23/dashboard/content/social&scope=user_profile,user_media&response_type=code&state=0&eventid=XXX1141927827XXX
BUT I AM GETTING THIS-->
error_type "OAuthException"
code 400
error_message
"Invalid scope: []"
I am trying to get token from redirect URL and fetch media of logged user
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论