您好,我正在尝试将Facebook登录信息集成到我的应用程序中。 按下按钮后,facebook界面打开,但是当我单击以继续使用facebook时,即使控制台未显示任何内容,也没有任何反应:
that's the button code :
<LoginButton
publishPermissions={["email"]}
onLoginFinished={
(error, result) => {
if (error) {
console.log("Login failed with error: " +
error.message);
} else if (result.isCancelled) {
console.log("Login was cancelled");
} else {
console.log("Login was successful with permissions: "
[`enter code here`+ result.grantedPermissions)
}
}
}
onLogoutFinished={() => alert("User logged out")}/>][1]