How to find Hash key for Facebook?

I want to know few things for this:

  1. What is the deference between “Development Key Hashes” & “Release Key Hash”?

  2. How to obtain these?

  3. I have already setup keystore (but app not published yet). Tried these code in cmd :
    keytool -exportcert -alias <alias_name> -keystore <path_to_keystore> | openssl sha1 -binary | openssl base64

but this does not work, actually I don’t know where to run this command? I mean in which folder in cmd (cd …?)

If someone guide me step by step will be great help.

Anyone?

Ok solved…

Followed this…

http://javatechig.com/android/how-to-get-key-hashes-for-android-facebook-app