Android Question facebook hash key 28 chars

ShadTech

Member
Licensed User
when i tries to publish my app in facebook ads to be directly installed
face book neet me to provide the 28 char hash key
and it provide the following command to get that hash
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
i already created my release ***.keystore and its password and uploaded the aab to google play but i don't know how to run that command to get th 28 key hash
,,,
any one tried that before or has idea how to do that step by step???
i will be really thankful for that
 

ShadTech

Member
Licensed User
Run this code in B4J or B4A:
B4X:
Dim bc As ByteConverter
Dim b() As Byte = bc.HexToBytes("85:58:1D:...".Replace(":", "")) 'SHA1 from Tools - Private Sign Key
Dim su As StringUtils
Log(su.EncodeBase64(b))
thank you Mr Erel for respond
but from where i can get the hash (85:58:1D:...) ??
 
Upvote 0

ShadTech

Member
Licensed User

Attachments

  • 2111.png
    2111.png
    32.6 KB · Views: 64
Upvote 0
Top