Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate key hash in xamarin android for facebook sdk

I want to give login using facebook facility in my xamarin android app.

Can anyone tell me , how to generate key hash for xamarin android I have saw this on developers.facebook.com to generate key hash

keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%.android\debug.keystore | openssl sha1 -binary | openssl base64

can anyone tell me, what is meaning of each and every word in this command? What values should be given to these variables?such as what is alias? Where can I find this and other too. As I am new to facebook development , I don't know all these terms. It will be nice if someone gives me any example of this. Please help me. I am completely stuck here.

like image 826
Suraj Avatar asked Dec 05 '25 03:12

Suraj


1 Answers

Try

keytool -exportcert -alias androiddebugkey -keystore ~/.local/share/Xamarin/Mono\ for\ Android/debug.keystore | openssl sha1 -binary | openssl base64

The default keystore password is android.

like image 152
der_michael Avatar answered Dec 09 '25 15:12

der_michael



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!