android - How to generate a Facebook Release Key Hash on Mac? -


i trying generate release key hash android app, following facebook docs, have no problem creating debug with:

keytool -exportcert -alias plicprintdebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

it asking password, enter "android" , got debug key.

but release key when enter:

keytool -exportcert -alias plicpreleasekeyfb -keystore /users/vedtam/desktop | openssl sha1 -binary | openssl base64

the terminal window spits key, not prompt password, , not write on desktop. reading indicates error, , given key invalid.

can explain how generate facebook release key correctly on mac please? thanks!

== update ==

thanks mattia, have figured out, , while there 0 example out there regarding generation of facebook key hash hope guide others:

you need not alias have name of production key, must written out after release_key_path:

keytool -exportcert -alias plicprint -keystore /users/vedtam/desktop/plicprint | openssl sha1 -binary | openssl base64

you using /users/vedtam/desktop value options keystore. it's not correct, should specify file name, example:

/users/vedtam/desktop/production.keystore 

once find path of production keystore modify command this:

keytool -exportcert -alias release_key_alias -keystore /users/vedtam/desktop/production.keystore | openssl sha1 -binary | openssl base64


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -