Ionic Facebook Native Phone Card | Key Hash Error

I am creating an application using Ionic.

I followed in this article about integrating my application with the native facebook sdk file for a more enjoyable experience for my users.

Unfortunately, from today the facebook login is stuck and continues to respond to the "Invalid key hash." XXX hash hash does not match stored key hashes ... "

I am still running my application in development, I have never built it.

I read all the possible articles about configuring a hash key.

I tried:

keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64

which should be intended for development, but I noticed that the key in response to this command does not match the error message that I reported above.

I think my application is stuck with the wrong hash key that comes from I don’t know where ... Because it must get debug.keystore's key. / android.

I also tried to create a completely new application, copying only the www folder, repeated the configuration steps from the above article, but nothing has changed. For the same error, the same error is reported, the same wrong key hash.

I don’t know what the problem is.

My facebook app is LIVE, I'm on a Mac.

I run my application on my Android phone through ionic run android

+4
source share

All Articles