Keyhash on Facebook Developers

In some apps we need to use a "Facebook login", for our apps or games in Unity. (setting scores, etc)

For that purpose, we must provide a "Hashkey" for our game to work, and put that keyhash on our Facebook developer page (https://developers.facebook.com/apps/YOURAPPID/settings/basic/)

¿how to get our app Hashkey?
with keytool command:
1: (install if not already, OpenSSL in c:\Openssl)
 2: (go to your jdk dir)  cd C:/Program Files/Java/jdk1.8.0_181/bin

3: keytool -exportcert -alias fq2 -keystore "C:\Users\joe\Documents\PATHKEYSTORE\APP.keystore" | C:\OpenSSL\bin\openssl sha1 -binary | C:\OpenSSL\bin\openssl base64

Thats it! You will get a 28 digit Hashkey, you must put it on your Facebook App on facebook:

 (if your app says: " 28digit Hashkey not recognized" copy that "28digit" hashkey on the same facebook developer app.)

No comments:

Post a Comment

Post your comments here

Deja tus comentarios aquí, muchas gracias!!

Facebook Login for Unity

Sometimes we need to add " Facebook login " to identify a user on our game / app. For that, its available the Facebook SDK, but...