使用安卓应用程序中的Facebook登录

3
我是一名Android开发者。我开发了我的第一个helloWorld应用程序,但在创建Facebook会话方面遇到了一些问题。
我按照许多教程进行操作...例如:http://www.kpbird.com/2013/03/android-login-using-facebook-sdk-30.html 我在我的活动中添加了一个LoginButton并创建了一个会话处理程序。处理程序被调用,但会话从未打开过。为什么?
步骤1。 点击按钮 {Session state:OPENING, token:{AccessToken token:ACCESS_TOKEN_REMOVED permissions:[]}, appId:15xxxxxxxxxxxxx}
步骤2。 用户接受条件... {Session state:CLOSED_LOGIN_FAILED, token:{AccessToken token:ACCESS_TOKEN_REMOVED permissions:[]}, appId:15xxxxxxxxxxxxx}
我生成哈希代码并将其插入到我的注册应用程序的Native Android App(Key Hashes)中。
当我生成哈希时,我设置了一个随机密码,这样可以吗?

这可能对你有所帮助。http://stackoverflow.com/questions/15357811/how-to-integrate-facebook-in-my-android-application/15520199#15520199 - Swapnil Kotwal
1个回答

2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接