我正在使用react-native-instagram-login并设置文档中提到的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})}/>

发布于 2019-12-17 22:10:29
执行此操作后,上述错误将得到修复
转到“角色”>“Instagram用户”,然后添加您的Instagram帐户。然后转到https://www.instagram.com/accounts/manage_access/,接受来自你的应用程序的测试者邀请。
https://stackoverflow.com/questions/59298849
复制相似问题