facebook:~5.0.1and博览会:33.0
onFacebookSignIn = async () => {
try {
const {
type,
token,
} = await Facebook.logInWithReadPermissionsAsync(facbookAppId, {
permissions: ['public_profile', 'email'],
browser: 'browser'
});
if (type === 'success') {
const response = await fetch(`https://graph.facebook.com/me?access_token=${token}`);
Alert.alert('Logged in!', `Hi ${(await response.json()).name}!`);
} else {
console.log('cancel');
}
} catch ({ message }) {
alert(`Facebook Login Error: ${message}`);
}
}**点击按钮打开facebook登录页面,通过我的电子邮件和密码登录,但如果通过安装facebook应用程序登录,它需要我下一个允许页面,但比下一页显示空白:(
我已经花了几天时间在这件事上,谢谢。

屏幕

**
https://stackoverflow.com/questions/58243663
复制相似问题