I am building an app, which is going to have support for facebook. I have downloaded facebook API and their sample called \"Hackbook\" from original Git repos. The problem i
I have toiled for two days & got the solution at last, this is the WRONG way to get the hash key -
keytool -exportcert -alias ** -keystore ** | [openssl_bin_directory]\openssl sha1 -binary | [openssl_bin_directory]\openssl base64
The right way is type these 3 lines, one at a time in cmd. After the first line, you'll be asked to insert the keystore password.
keytool -exportcert -alias ** -keystore ** > [openssl_bin_directory]\debug.txt
[openssl_bin_directory]\openssl sha1 -binary [openssl_bin_directory]\debug.txt > [openssl_bin_directory]\debug_sha.txt
[openssl_bin_directory]\openssl base64 -in [openssl_bin_directory]\debug_sha.txt > [openssl_bin_directory]\debug_base64.txt
If you want to know details, the RIGHT way is described here -
http://facebook.stackoverflow.com/questions/13281913/app-is-misconfigured-for-facebook-login-with-release-key-hash
or here
Facebook Android Generate Key Hash