android - Facebook App Key Hash 的使用

标签 android facebook

我开发了一个使用 Facebook 功能的示例应用程序,它在我的设备 (Samsung Galaxy S) 上运行良好。为了包括 Facebook 功能,我创建了一个开发帐户(根据需要)并生成了一个我在 FB 开发帐户中输入的 key 哈希。我的疑问是(我知道问这个可能很愚蠢),为什么我们需要输入这个当我们自己签署 .apk 并在市场上发布时,FB 网站中的 key 哈希?此 key 散列对 FB 或下载我的应用程序的设备有什么用?

最佳答案

这只是 facebook 的另一项安全措施,因为它将允许您的应用程序检索个人信息。 Sic,来自 www.facebook.com/developers :

A security key used for a more seamless login experience (e.g., snY1_9SPiOfe_xK2D-RT2ASFl5k).

这在移动设备中尤为重要,因为您甚至可以在不登录的情况下使用它:(SIC) 来自 http://developers.facebook.com/docs/guides/mobile/#android_key_hash :

Single-Sign-On (SSO)

As with the iOS SDK, one of the most compelling features of the Android SDK is Single-Sign-On (SSO). SSO lets users sign into your app using their Facebook identity. If they are already signed into the Facebook Android app on their device they do not have to even type a username and password. Further, because they are signing to your app with their Facebook identity, you will have access to their profile information and social graph.

关于android - Facebook App Key Hash 的使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5501217/

相关文章:

android - 如何在 Android 的完整应用程序中使用菜单

java - Android DexClassLoader 错误, 'optimized data directory .. not owned by current user'

Android Dex - 添加 jackson 库后出错

java - Android 应用程序语言到处都在变化,但在菜单和选项卡布局标题中没有变化

javascript - Facebook XMPP 聊天 API - 设备优先级

javascript - Facebook API 登录 - 日志记录

php - 60 天后延长 Facebook 访问 token

java - 特征检测

facebook - 使用社交插件发布评论时通知 Facebook 应用程序管理员

php - mysql_fetch_assoc() 期望参数 1 为资源, bool 值给定错误