I have recently got Facebook to work when debugging my application by following the insructions on facebooks developer page on how to export and get the hash key we need to
In order to generate the key Please follow the steps provided above. the main problem you can face will be alias as it'll throw exception: keytool error: unable to find alias (likely). if you have signed key to release the app fetch alias of that key using:
keytool -list -keystore
Now use this alias in keytool -exportcert -alias -keystore c:\openssl\bin\debug.txt
Now you can follow the steps mentioned in the previous comment.