ExpoAppAuth+;Instagram错误:ExpoAppAuth.Get Auth:JSON反序列化错误
正在尝试从instagram api接收访问令牌。我正在使用expo应用程序auth并在android上运行。我的用法直接来自演示 当然,我将配置更改为:ExpoAppAuth+;Instagram错误:ExpoAppAuth.Get Auth:JSON反序列化错误,json,react-native,expo,instagram,appauth,Json,React Native,Expo,Instagram,Appauth,正在尝试从instagram api接收访问令牌。我正在使用expo应用程序auth并在android上运行。我的用法直接来自演示 当然,我将配置更改为: let config = { issuer: 'https://api.instagram.com/oauth/authorize', scopes: ['user_profile', 'user_media'], clientId: '33562202******' }; 收到了这样的错误: [Unhandled promise rej
let config = {
issuer: 'https://api.instagram.com/oauth/authorize',
scopes: ['user_profile', 'user_media'],
clientId: '33562202******'
};
收到了这样的错误:
[Unhandled promise rejection: Error: ExpoAppAuth.Get Auth: JSON deserialization error]
- node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:99:50 in fn
- node_modules\@unimodules\react-native-adapter\build\NativeModulesProxy.js:15:41 in moduleName.methodInfo.name
- ... 9 more stack frames from framework internals
如何处理这种错误,有什么建议吗?我猜instagram返回的数据格式可能与JSON不同,但由于抛出错误,它不知道如何读取这些数据