To integrate your application with Facebook You must specify the Key Hash. Here you will see how to get the Key Hash. In this example, we use the operating system Windows.
2.) Make a OpenSSL folder in drive C:\
3.) Extract Zip file to OpenSSL folder created in drive C:\
4.) Open command prompt and give the path of Java jdk bin folder. In my case the - C:\Program Files\Java\jdk1.7.0_75\bin
5.) Copy this code (C:\Users\Administrator - This is the path to your account. Change the name of your account.
For example: C:\Users\BadBoy) and press enter:
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Administrator\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary |"C:\OpenSSL\bin\openssl" base64
6.) Now you need to enter password, password = android
Enter the password and press enter
7.) If you follow the instructions correctly, you should see a hash key as shown below: