Linis
Linis

Reputation: 15

Android Facebook SDK release key hash doesn't work

I have a problem with my app facebook key hashes on release build. I have generated release key hash from keystore file with this command:

keytool -exportcert -alias <RELEASE_KEY_ALIAS> -keystore <RELEASE_KEY_PATH> | openssl sha1 -binary | openssl base64

and pasted it to developers.facebook page. However, when I try to login, it says that key hash which is shown doesn't match any of listed in developers page. If I paste that shown key hash, facebook login will work, but I want facebook to work for other users without putting their key hashes to developer page. How could I do that?

Upvotes: 1

Views: 540

Answers (1)

Anirudh Sharma
Anirudh Sharma

Reputation: 7974

You have to make your app public for other devices to work.

Go to your facebook developer console and select your project(app) from app section.Then in status and review turn on the option--Do you want to make this app and all its live features available to the general public?.

You will need an email id to turn it on so add one if you haven't already.

Upvotes: 1

Related Questions