There is no need to remove the application from the Facebook developer website again and again. All you need to do is go to your terminal (Mac or Linux) and type:
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
And Window user open cmd and type:
keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64
After that, you will be prompted to enter "Enter the keystore password:", for this, remember that enter only android . Now use this key hash on the Facebook developer website (Note: this key hash will be the same as the key hash you received in the error). Mostly people are asking to remove the application from the Facebook developer website and make a new one again, but believe me, this is actually what you need to do.
Rishabh chandel
source share