Facebook Email field return null (even if the “email” permission is set and accepted)

前端 未结 14 1213
孤街浪徒
孤街浪徒 2020-11-29 01:12

For some users in our application, the email field returns NULL even if the user has granted the email access to the app. When we check the scope parameter and the validity

14条回答
  •  没有蜡笔的小新
    2020-11-29 01:48

    you can try this it will work String email = user.getProperty("email").toString(); String safeEmail = user.asMap().get("email").toString();

提交回复
热议问题