48
Views
1
Comments
[Facebook Login Plugin] Error with key hash
Question
facebook-login-plugin
Mobile icon
Forge asset 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!!

2020-04-30 17-04-29
Vasco Costa

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.