React native 获得;错误类型:OAutheException“;尝试使用react native instagram登录时出现无效范围错误

React native 获得;错误类型:OAutheException“;尝试使用react native instagram登录时出现无效范围错误,react-native,react-native-instagram-login,React Native,React Native Instagram Login,我正在使用react native instagram登录,并设置文档中提到的appId和appSecret。但是我得到了一个错误作为无效范围。有人能建议我怎么解决这个问题吗。我还添加了范围 <InstagramLogin ref={ref => (this.instagramLogin = ref)} scopes={['user_profile', 'user_media']} redirectUrl='my url' appId='appid' appSecret = 'app

我正在使用react native instagram登录,并设置文档中提到的appId和appSecret。但是我得到了一个错误作为无效范围。有人能建议我怎么解决这个问题吗。我还添加了范围

<InstagramLogin ref={ref => (this.instagramLogin = ref)} scopes={['user_profile', 'user_media']} redirectUrl='my url' appId='appid' appSecret = 'appSecret' onLoginSuccess={(token, result) => this.socialLogin(token, 2)} onLoginFailure={(data) => this.setState({failure: data})}/>
(this.instagramLogin=ref)}scopes={['user_profile','user_media']}重定向url='my url'appId='appId'appSecret='appSecret'onloginsucess={(token,result)=>this.socialvin(token,2)}onLoginFailure={(data)=>this.setState({failure:data})}/>

执行此操作后,上述错误将得到修复


转到角色>Instagram用户并添加您的Instagram帐户。然后转到接受应用程序中的测试人员邀请。

您是否尝试过使用scopes={['basic']}?是的,如果我更改为basic,我将收到Oops,则会发生错误。另外,在更改作用域={['user_profile','user_media']}的同时,现在我收到一条错误消息“inventure developer role”Hi@sejn,我已经邀请了测试用户并与测试用户一起登录。尽管同样的错误也出现了。你能帮我用最新的吗。此外,您能否根据上述内容确认您的范围。您是否接受要在此处登录应用程序的用户的邀请