How to compute key hash for Facebook from deployment_cert.der file?
Asked Answered
M

1

9

I have uploaded my app APK to google and enabled app signing key to let google sign up my app .Now ,I need the deployment key hash requested by facebook ,I did downloaded the deployment_cert.der file used to generate fingerprints but i don't know how to compute the required Key hash by facebook.Please do not tell me how to generate key hash from key store since I already have generated the key hash for the testing purposes ,what I want know is the Key hash for the release version of my app APK which is signed by google .

Municipality answered 20/1, 2019 at 8:2 Comment(0)
L
21

enter image description here

from SHA-1 hash in hex format (as found in Play console) you can convert it into base64 hash code

example:

echo 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 | xxd -r -p | openssl base64

and then copy generated code to facebook dev account -> your app -> Basic Steeings -> Android -> Key Hashes

Lashay answered 14/10, 2019 at 10:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.