Monday 15 July 2013

javascript - Facebook JS api: Not receiving user email despite asking for permissions -


I am trying to access the user's email for my Facebook canvas app. Although I ask for it, it still does not appear (shows birthdays, which also has an additional permit) (in concave function)

     

An effective way to see if the right permissions are set through the code Use the following code (in the query part you want to change the field):

  FB.api ({method: 'fql.query', query: 'select user_status, friends_status (Resp [0] [Key] === "1", [user]) Console.log (key + 'given'); else console.log (key + 'is not given')}}) ;   

It is possible that the user has not given permission to access the email ID.

No comments:

Post a Comment