Facebook Android SDK 4.5.0 get email address

后端 未结 7 1508
[愿得一人]
[愿得一人] 2020-12-04 16:02

I\'m currently creating a test application to test using the latest facebook SDK to update our existing application problem is that I need to get the email address which I k

7条回答
  •  萌比男神i
    2020-12-04 16:16

    Instead of getting the value of the graphResponse, access the email using the JSONObject me

    userEmail = jsonObject.getString("email");
    

提交回复
热议问题