Facebook oauth retrieve user Email

前端 未结 4 1648
半阙折子戏
半阙折子戏 2020-12-13 12:29

I am using Facebook Javascript SDK to get oauth token and retrieve all the data from FB:

 function login() {
    FB.api(\'/me\', function (response) {                


        
4条回答
  •  猫巷女王i
    2020-12-13 13:06

    It is impossible, user have to grant your application to access his email information, or in other case, it can be accessible if user allowed his email to viewed by everybody in his privacy settings.

提交回复
热议问题