Command to create Key Hash for facebook : requires openSSL to be there in your system. | Techbirds

Key hashes : required for Facebook login in order to perform security
check.

every Android app you’ll create will be signed, and you will need to register each app’s key hash with Facebook as a security check for authenticity – as we’ll see later. But to bypass this check for the SDK samples and to get them up and running quickly, you can add your key hash to your global Facebook Developer profile.

Firstly, to generate your key hash on your local computer, run Java’s keytool utility (which should be on your console’s path) against the Android keystore.

Command to create Key Hash for facebook :

keytool -exportcert -alias aliasname(keystore) -keystore “%USER_PATH_ANDROID%\your_keystore_name.keystore” |%PATH where openssl in your system%\openssl0.9.8e_X64\bin\openssl sha1 -binary|%PATH where openssl in your system%\openssl0.9.8e_X64\bin\openssl base64

366 total views, 1 views today

Share this Onfacebook-4709976twitter-1609272linkedin-3463467google-7815450