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