I was trying to get the key hash from my Android app. Facebook SDK 3.0 gave the following code:
keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64
When I run this it first says binary:no error
; It then asks for the password which I enter as android
. Upon pressing enter it returns blank where I expect the pass code.
I used the solution mentioned here; this did give me a key hash but when I use that none of the sessions are opening.
My java keytool is stored in :
C:\Program Files\Java\jre7\bin
And OpenSSL is stored in :
F:\openssl\bin
I am giving the correct file paths when I run it in MD in Windows.
Kindly help me figure this out!