xamarin - 在 xamarin android 中为 facebook sdk 生成 key 哈希

标签 xamarin xamarin.android xamarin-studio

我想在我的 xamarin android 应用程序中使用 facebook 功能进行登录。

谁能告诉我,如何为 xamarin android 生成 key 哈希 我在developers.facebook.com上看到了这个来生成 key 哈希

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

谁能告诉我,这个命令中每个单词的含义是什么? 应该给这些变量赋予什么值?例如别名是什么?我在哪里可以找到这个以及其他的。 由于我是 facebook 开发的新手,我不知道所有这些术语。如果有人能给我任何这方面的例子,那就太好了。 请帮我。 我完全被困在这里了。

最佳答案

尝试

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

默认 keystore 密码是android

关于xamarin - 在 xamarin android 中为 facebook sdk 生成 key 哈希,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24668967/

相关文章:

xamarin-studio - 代码完成 Xamarin Studio

c# - 键值观察不会在 UIViewController 子类上触发?

android - 带有图像的 Xamarin ListView 滚动不流畅

android - 如何在 Xamarin.Android 中获取指南针方向

c# - xamarin.android visual studio 2015 中的电子邮件地址验证编码?

android - 克服 HelloWorld Xamarin Android 应用程序中的 resource/.axml 困难

f# - Xbuild 构建面向 .NET 3.5 的 F# 3

ios - 在 iOS Xamarin Native 中设置 FSCalendarAppearance 委托(delegate)

c# - 使用 Android.Support.V7.App.AppCompatActivity 时获取 ResourceNotFoundException

c# - 使用 xamarin 和 c# 在 android 上更改 cultureinfo