user1995781
user1995781

Reputation: 19463

Cordova facebook invalid hash key

I am trying to do facebook login for a hybrid app. However, when I try to log in using Facebook, I get this error message:

Invalid key hash. The key hash gawWYqXiaXXXXXXXXX.... does not match any stored key hashes. Configure your app key hashes at http://developers.face......

I tried to copy the hash key as displayed on the message and add in to my facebook developer account key hashes, but it still popup the same error message.

How can I overcome it?

---Update---

Just now I tried with my colleague PC by building app on his PC then try to login to Facebook. When I face the error message above, I copy the key hash and put into facebook. Then I try again, it work!!!!

Why it doesn't work for my PC? Btw, I am following the answer from (Openssl is not recognized as an internal or external command) to create the hash key. The generated hash key is different than the hash key that I saw on the app. Is there anything wrong with my PC that cause the error? How can I fix it?

Upvotes: 0

Views: 206

Answers (0)

Related Questions