Key hash for Facebook Android SDK

前端 未结 9 1946
后悔当初
后悔当初 2020-11-28 03:29

I can\'t figure out how to get the Key Hash required to use the Facebook Android SDK. I figured out that I can use keytool with these commands:

         


        
9条回答
  •  星月不相逢
    2020-11-28 04:18

    To make things easier -

    keytool.exe -list -alias androiddebugkey -keystore debug.keystore -v
    

    this should provide you with the fingerprints needed, without the hassle of installing openssl.

    e.g.

    Certificate fingerprints:
             MD5:  1A:5E:AA:CB:1A:CF:68:F0:8B:DA:D8:BC:EE:4F:BF:EE
             SHA1: D2:89:D1:5A:BC:F8:E3:E5:62:4D:DD:20:DD:96:CD:AB:51:A1:C1:7F
             Signature algorithm name: SHA1withRSA
             Version: 3
    

提交回复
热议问题