Facebook应用程序密钥散列使用 [英] Use of the Facebook App Key Hash

查看:1825
本文介绍了Facebook应用程序密钥散列使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个示例应用程序,它使用Facebook的功能,并且它正在我的设备(三星Galaxy S)的罚款。对于包括Facebook的功能,我创建了一个开发帐号(如需要),并产生我在FB开发account.My进入无疑是一个关键的哈希(我知道这可能是非常愚蠢的问这个),为什么我们要进入这个在FB网站密钥散列时,我们自己会签署.apk文件,并在市场上释放呢?有什么用将此密钥哈希是FB或设备是在下载我的应用程序?

I have developed a sample app, which uses Facebook features, and it is working fine on my device(Samsung Galaxy S). For including Facebook features, i created a dev account(as required) and generated a key hash which i entered in FB dev account.My doubt is(I know it may be very silly to ask this), why do we need to enter this key hash in FB website when we ourselves will be signing the .apk and releasing it in market? Of what use will this key hash be to FB or the device that is downloading my app?

推荐答案

这是从Facebook只是一个安全措施,因为它可以让你的应用检索的个人信息。骰,从www.facebook.com/developers:

It's just another security measure from facebook since it will allow your app to retrieve personal information. Sic, from www.facebook.com/developers :

用于更安全密钥
  无缝登录体验(例如,
  snY1_9SPiOfe_xK2D-RT2ASFl5k)。

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

This is specially important in mobile devices, since you may use it even without logging in: (SIC) From http://developers.facebook.com/docs/guides/mobile/#android_key_hash :

单点登录(SSO)

与iOS SDK中,一个最
  Android SDK的强大的功能
  是单点登录(SSO)。 SSO允许
  用户通过登录到您自己的应用程序
  Facebook的身份。如果它们已经
  登录到Facebook的Andr​​oid应用
  在装置上,他们不必
  甚至键入用户名和密码。
  此外,因为它们是签约到
  与他们的Facebook身份您的应用程序,
  你将有机会获得他们的个人资料
  信息和社交图谱。

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.

这篇关于Facebook应用程序密钥散列使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆