Monday, January 30, 2017

How to create release Hash Key for facebook login in android


1. We need to download openssl from Google code (64 bit users must downloadopenssl-0.9.8e X64, not the latest version) 

2. Extract it. 
create a folder- OpenSSL in C:/ and copy the extracted code here. 

3. Then you want to move to keytool location of your PC. Its in your java derectroy , bin folder, Example :    C:\Program Files\Java\jre1.8.0.111\bin
From here load the Command prompt.

Enter this command;
keytool -exportcert -alias androidreleasekey -keystore "C:\Users\user\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64

But here path must be your PC relative paths......


Now, it will ask for password, put android 

That's all. It will return a key-hash.


No comments:

Post a Comment