简体   繁体   中英

Is Facebook Hash key for android secret

I wanted to know if the secret key used for Facebook SDK on Android should be kept a secret. Can I show it to users as part of a bug report?

In your code Facebook SDK only use your Facebook App id. And you put the hash key to the Facebook Developer web page.

This way facebook ensures the calls from the specific app id only calls from the authorized application. This way, no one can act as your application.

Even if you give the hash and some malicious user tries to mock your application, facebook will hash that app's sign key and the two hash values won't match and there will be no problem.

The hashkey is only meaningful to the apps which are signed with the same certificates. So if you don't share your keystore/certificate, there is noting to worry about.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM