Android的SDK Facebook的 - 空GraphUser [英] Android Facebook SDK - Null GraphUser
问题描述
我想实现Facebook SDK在我的Android应用程序,但到目前为止,我没有成功。
我按照在被Facebook以下教程的所有步骤:
的https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
I am trying to implement the Facebook SDK in my Android application but so far I had no success. I have followed all the steps in the following tutorial by Facebook: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
然而,没有什么工作 - 在GraphUser始终返回null。
我已经添加了调试散列到Facebook和我已经做了我被告知做的一切。
Yet, nothing worked - the GraphUser always returns null. I have added the debug hash into Facebook and I have done everything that I was told to do.
您帮助将非常AP preciated!
Your help will be much appreciated!
先谢谢了。
推荐答案
哦,那我也有同样的问题,今天,我解决它通过简单地添加网络
许可项目的AndroidManifest.xml
Oh, that I also had same issue today, I solved it by simply adding the Internet
permission to the project AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
这篇关于Android的SDK Facebook的 - 空GraphUser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!