view hash key for facebook integration

Hello

I saw some topics about the need for generating hash key using keytool, but none dealt with trying to view the hash key. is that impossible?

I already created the keystore for my app using keytool. i want to integrate my app with facebook, so i need to somehow reach the hash key that was generated specifically with the keystore.

I saw many people got issues because they tried generating a new hash key using this command:

keytool -exportcert -alias myalias -keystore myKeyStore.keystore | openssl sha1 -binary | openssl base64

but when they try to use facebook it gives them error about not using the right hash key generated with the keystore.

so my question would be:

1- do i need to create a new keystore and use it with the new hash key that comes with it? 

or 2- is there a way to view the hash key that was originally generated with my existing keystore?

thanks

Please read this blog post on Facebook Authentication.  It covers generating the keyhash for this use:

http://www.coronalabs.com/blog/2013/07/30/understanding-facebook-authentication/

thanks you very much. that helped. (assuming that the hash key is a 27 letters/numbers in length, and i don’t include “=” sign in it.)

The key is about that length and it does have an “=” on the end.  You need to include the equal when you add it to facebook.

thank you.

one thing i discovered:

even if you don’t know your hash key, you can just make up something and put it to facebook, when adding an app.

when you try to connect to facebook with your app it will tell you the REAL HASH KEY, and that it does not match what you entered when you registered your app. 

all solved.

thanks again.

There was some suggestions that Facebook had turned that feature off, but if it’s back, thats a very helpful way to find out the key.

Rob

Please read this blog post on Facebook Authentication.  It covers generating the keyhash for this use:

http://www.coronalabs.com/blog/2013/07/30/understanding-facebook-authentication/

thanks you very much. that helped. (assuming that the hash key is a 27 letters/numbers in length, and i don’t include “=” sign in it.)

The key is about that length and it does have an “=” on the end.  You need to include the equal when you add it to facebook.

thank you.

one thing i discovered:

even if you don’t know your hash key, you can just make up something and put it to facebook, when adding an app.

when you try to connect to facebook with your app it will tell you the REAL HASH KEY, and that it does not match what you entered when you registered your app. 

all solved.

thanks again.

There was some suggestions that Facebook had turned that feature off, but if it’s back, thats a very helpful way to find out the key.

Rob