Key hash for Facebook Android SDK

Anders picture Anders · Dec 3, 2010 · Viewed 57.7k times · Source

I can't figure out how to get the Key Hash required to use the Facebook Android SDK. I figured out that I can use keytool with these commands:

  keytool -exportcert -alias [alias]
 -keystore [keystore] | openssl sha1 -binary | openssl enc -a -e

The only problem is that I have no idea where to insert this, I tried through command windows (win7) and I tried opening the file keytool.exe.

Answer

Gabe picture Gabe · Dec 3, 2010

You can install Open SSL from here , that should make your command work