How to generate key hash for Facebook?

为君一笑 提交于 2019-12-08 12:48:08

问题


I can open up Key Tool but when I try to enter the command, I encounter my problem. I am supposed to enter:

keytool -exportcert -alias RELEASE_KEY_ALIAS -keystore RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64

But I am not sure what RELEASE_KEY_ALIAS and RELEASE_KEY_PATH mean? What should I substitute for them? Looking for a detailed explanation of both, Thanks!

-Also I am on a Mac


回答1:


Download this and after extracting it, import it into your Eclipse and then run this in your android device. This way a unique keyHash will be generated for you. The keyHash will appear in your device when you run this.



来源:https://stackoverflow.com/questions/19351349/how-to-generate-key-hash-for-facebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!