Facebook login error: Unsupported request
Facebook login error: Unsupported request
我正在尝试在我的应用程序中添加 Facebook 登录。
使用react-native-fbsdk-next
这是我的代码:
const result = await LoginManager.logInWithPermissions(['public_profile', 'email', 'user_birthday']);
if (result.isCancelled) {
btnFacebookRef.current.setLoadingValue(false);
} else {
const data = await AccessToken.getCurrentAccessToken();
...other code
我正在尝试在我的应用程序中添加 Facebook 登录。
使用react-native-fbsdk-next
这是我的代码:
const result = await LoginManager.logInWithPermissions(['public_profile', 'email', 'user_birthday']);
if (result.isCancelled) {
btnFacebookRef.current.setLoadingValue(false);
} else {
const data = await AccessToken.getCurrentAccessToken();
...other code