为什么“错误”范围是错误的:[]"返回给没有添加Instagram Basic Display的用户返回的“ Instagram Testers”?
我正在尝试使用Instagram Basic Display提取用户的个人资料和媒体数据。当我将一个Instagram帐户添加为Instagram测试人员时,我可以登录而没有任何问题,并提取配置文件和媒体数据。
当我将iOS应用程序提交给Instagram评论时,他们告诉我他们无法登录。因此,根据文档,他们无法切换到“授权窗口”屏幕。这使我得出结论,身份验证过程没有成功。
当我尝试使用Instagram帐户登录的Instagram测试人员时,我会遇到相同的错误,但是我认为这是正常的,因为尚未进行审查。
根据该文件,我使用的授权URL如下:
https://api.instagram.com/oauth/authorize/?client_id=Instagram App ID&redirect_uri=https://us-central1-blablabla.cloudfunctions.net/auth/&scope=user_profile,user_media&response_type=code
Instagram登录重定向,但是当我登录时,我会收到以下错误;
{"error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: []"}
当我将其发布在Instagram评论中时,他们也会收到此错误。
我无法解决它的方法没有什么,因为对于用户作为Instagram测试仪的用户来说,所有内容正常工作。
另外,当我以开发和实时模式发送应用程序时,我被拒绝了。
I'm trying to pull user's profile and media data using Instagram Basic Display. When I add an Instagram account as Instagram Testers, I can login without any problem and pull profile and media data.
When I submitted my iOS app to Instagram Review, they told me they couldn't log in. So, according to the document, they cannot switch to the "Authorization Window" screen. This led me to conclude that the authentication process was unsuccessful.
I'm getting the same error when I try to log in with an Instagram account that I haven't added as Instagram Testers, but I think it's normal since it hasn't been reviewed yet.
According to the document, the authorization url I use is as follows;
https://api.instagram.com/oauth/authorize/?client_id=Instagram App ID&redirect_uri=https://us-central1-blablabla.cloudfunctions.net/auth/&scope=user_profile,user_media&response_type=code
Instagram login redirects but when I log in I get the following error;
{"error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: []"}
They also get this error when I post it on Instagram Review.
There is nothing on how I can solve it because everything works normally for the user added as Instagram Testers.
Also, when I sent the application in Development and Live mode, I got rejected.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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