Android app Key Hash doesn't match any stored key hashes

后端 未结 13 1483
后悔当初
后悔当初 2020-12-02 14:51

I have an application on production on Play Store which uses a login with the Facebook SDK. When I debug the application from Eclipse there is no problem, but when its on pr

相关标签:
13条回答
  • 2020-12-02 15:08

    After trying all the above i tried this.. and worked!!!

    1. Copy the key hash was the same that Facebook gives on the exception,
    2. Replace "_" with "/" and adding a "=" on the end,
    3. Add it to Facebook
    4. Also check the package name and activity name once again. This worked for me!!.
    0 讨论(0)
  • 2020-12-02 15:15

    Just Replace The Error Key Hash Within Your https://developers.facebook.com/app application...!

    100 Percentage It Will Work For Sure.

    -Sunil

    0 讨论(0)
  • 2020-12-02 15:15

    If you have you app on the google app store just go to => => and copy your SHA-1 key. Then go to this website and copy in your SHA-1 key in the top textbar link

    The copy the key hash (output base64) to your facebook key hash field. everything should work now. :D

    0 讨论(0)
  • 2020-12-02 15:16

    Facebook some how replaces +,- and / with _

    So just try replacing _ with +, - and / and add that hash-key.

    Hopefully it should work.

    0 讨论(0)
  • 2020-12-02 15:16

    I just discovered a bug with the Sample App key entry page: If you paste a hash key from the app without hitting Enter, and then click the "Save Changes" button, the newly entered code will disappear but the page will show a "Saved!" response message. This isn't true: it didn't save. You must hit the Enter key after pasting the hash key and then hit "Save Changes".

    I saved a key including the trailing = character. That worked.

    0 讨论(0)
  • 2020-12-02 15:16

    For the released version, generate hash key using this line :

    keytool -exportcert -alias foodtimeph -keystore /Users/eliedanhash/Downloads/ph/foodtimeph.keystore.jks | openssl sha1 -binary | openssl base64
    
    0 讨论(0)
提交回复
热议问题