问题
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/
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.
Your help will be much appreciated!
Thanks in advance.
回答1:
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" />
来源:https://stackoverflow.com/questions/15439774/android-facebook-sdk-null-graphuser