0

I am trying to do login with facebook in my app and want profile data. For that I am generating hash key using command. After getting key i am putting it on developers website but it gives me error. I done all other things as given here but all these things are not working for me.

I can do first login successfully (key generated by keytool command) but after that it showing invalid hash key error.

please help How can I get out from this.

Mayuresh Patil
  • 2,072
  • 1
  • 21
  • 44

1 Answers1

0

This problem is with openssl do not download latest version. If you have a 64 bit machine you must download openssl-0.9.8e X64 not the latest version.

then generate key using command

$ keytool -exportcert -alias androiddebugkey -keystore "C:\Documents and Settings\Administrator.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary |"C:\OpenSSL\bin\openssl" base64

It will ask for password put "android" (not other)

that's all Now it will work.

Mayuresh Patil
  • 2,072
  • 1
  • 21
  • 44