2019-01-29

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)
https://code.google.com/archive/p/openssl-for-windows/downloads
 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:
https://developers.facebook.com/apps/YOURAPPID/settings/basic/


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

No comments:

Post a Comment

Hi!
Post your comments here
Thanks!!

Hola
Deja tus comentarios aquí, muchas gracias!!

Unity Remote

Simple solution to not working Unity Remote on your tablet/phone, its easy: ON YOUR DEVICE (tablet , phone): 1) Enable "Developer ...