LoginManager.logInWithPermissions(["public_profile"]).then(
function(result) {
if (result.isCancelled) {
console.log("Login cancelled");
} else {
console.log(
"Login success with permissions: " +
result.grantedPermissions.toString()
);
}
},
function(error) {
console.log("Login fail with error: " + error);
}
);
I failed to login and just get following error.
Login fail with error: Error: SERVER_ERROR: [code] 1349195 [message]: 키 해시가 저장된 키 해시와 일치하지 않습니다. 자세한 내용을 보려면 https://developers.facebook.com/docs/facebook-login/android로 이동하세요. [extra]:
--> in english
Login fail with error: Error: SERVER_ERROR: [code] 1349195 [message]: key hash and stored key hash is not equal each to each. If you want to know more, go to https://developers.facebook.com/docs/facebook-login/android [extra]:
Seems you are trying to login to the debug version of application via real person credentials.
For debugging purpose create test account.
@unnamed92 what do you mean by 'For debugging purpose create test account' ?
@MustaphaGhlissi having same issue, did you find any solution
@MustaphaGhlissi having same issue, did you find any solution
yes, here it is
https://github.com/facebook/react-native-fbsdk/issues/571#issuecomment-515369720
@lazarvgd
I receive the same error, I added two test users according to your suggestion. But my profile need to be verified, isn't it?
Most helpful comment
Seems you are trying to login to the debug version of application via real person credentials.
For debugging purpose create test account.