Android Facebook SDK - Null GraphUser

岁酱吖の 提交于 2019-12-10 22:52:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!