The key hash does not match any stored keys error


I am making a simple app in Ionic that can log in using facebook.
I launched it on my android device and got the following error:

Invalid key hash. The key hash +plv…rmg4= does not match any stored key hashes. Configure your app key hashes at

I have looked at dozens of other solutions for this and none of it seems to help.
The key “+plv…rmg4” (that I get from the error) is the identical one that I get with using the command:

keytool -exportcert -alias androiddebugkey -keystore 
"C:\Users\MyComp\.android\debug.keystore" | "C:\OpenSSL-Win64\bin\openssl" 
sha1 -binary | "C:\OpenSSL-Win64\bin\openssl" base64

I tried putting that code into my developers facebook page:

My developer page

But it didn’t help at all, again the same error. I tried on 2 devices, same mistake ocured both times. Does anyone have an idea how I could fix this? It’s a part of my last exam that I need to graduate, I can’t get past this, tried everything, I really don’t have a clue what’s the matter.