[Facebook Login Plugin] Error with key hash

Forge Component
(4)
Published on 12 Aug by Experts
4 votes
Published on 12 Aug by Experts

Hi everyone,


I'm triyng to put this working with the login, and it is giving me an error about the hash key. I've generated the keystore and configured it on the native platforms. I have extracted the hash with the guidelines from facebook documentation. However this is not working....

This is what I am doing:

  • keytool -genkey -v -keystore Phoneappkey.keystore -alias Phoneappkeyalias -keyalg RSA -keysize 2048 -validity 10000
  • keytool -exportcert -alias androiddebugkey -keystore "C:\Users\...........\Phoneappkey.keystore" | "C:\openssl-0.9.8k_X64\bin\openssl" sha1 -binary | "C:\openssl-0.9.8k_X64\bin\openssl" base64

And at least it asks me for the password so the location must be right.


Can you help me with this? Thanks!!

By the way, I know that on the example that I gave the aliases are different, but even with the same aliases on both comands it has a wrong result.

The that's in the error that comes from facebook with the key that the app is sending is completly diferente from the one that I am getting on the cmd prompt.