Ionic 4: facebook login error (1675030)

I spent all day trying to make a simple application that could log in through facebook, and failed.

I went through problems that were easily solved, such as fixing the version of the @ionic-native/core and @ionic-native/facebook packages to 5.0.0-beta.14 until problems that made me create a topic asking for help.

I’m stuck with the following message: “SERVER_ERROR: [code] 1675030 [message]: Error performing query”, and I just do not know what else to do.

I already checked the hash key by executing the command “keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64” and then informing the password “android”, but the error persists.

That’s my code:

this.facebook.login(['email']).then((res: FacebookLoginResponse) => {
	console.log("facebook login res", res);
}).catch(err => {
	console.error("facebook login err", err.errorMessage);
});

Did u find any solution?

Unfortunately not. So I downgraded to Ionic 3.

I think u need to create the hashkey and place that key in developer.facebook.com
after doing so this error disappeared