Friday, October 7, 2011

Facebook Hash Key on windows

To Develop facebook app for anDroiD u need to get Hashkey.So go to Cmd prompt

Download the openssl for windows here . Then unzip and save it
Now in the cmd prompt change dir to the bin folder of the jdk(which u have installed before using Eclipse) 
Type the command:
keytool -export -alias myAlias -keystore C:\Users\mpg\.android\myKeyStore | D:\software\openssl-0.9.8k_WIN32\bin\openssl sha1 -binary | D:\software\openssl-0.9.8k_WIN32\bin\openssl enc -a -e   

The Red color highlighted is the location of your "keystore" folder,which u can finf in c/users/user_name/.android.
The Light Pink color is the path of the unziped location of the downloaded openssl.
In the figure the highlighted text is the hashkey.which u need to insert while creating the application in the URL , Just login and create the new app.

No comments:

Post a Comment