Hello,
I am using Facebook SDK version 4.0.18 with graph api v2.2
I am trying to get the basic information of a user i.e. public_profile, email, user_friends which i have specified in the scope parameter. My login url looks like
https://www.facebook.com/v2.2/dialog/oauth?client_id=XXXXXXXXXX&redirect_uri=http://mydomain.com/facebook/&state=XXXXXXX&sdk=php-sdk-4.0.18&scope=public_profile,email,user_friends
Facebook does confim that the scopes I am specifying are valid http://prntscr.com/as5vko
However, the response I get are the user’s id and its name
Can anyone tell me how can I get the email address of the user?
PS: The user’s primary email address is verified.