1

我正在使用 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})}/>

ns

4

1 回答 1

1

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

转到角色 > Instagram 用户并添加您的 Instagram 帐户。然后转到https://www.instagram.com/accounts/manage_access/接受来自您的应用的测试员邀请。

于 2019-12-17T14:10:29.097 回答