Is it require any permission except allow to my app. My code is as follows..
FB.api({ method: 'fql.query',
query: 'SELECT name,pic_square,birthday,sex,profile_url,website,email,email_hashes FROM user
WHERE uid='+friend.id },
function(response) {
alert("friends website:: "+response[0].website);
alert("friends email :: "+response[0].email);
alert("friends email_hashes:: "+response[0].email_hashes[0]);
} } );
First alert is returning proper website information, but the second and third alert is
giving null and undefined/null( Except email everything is coming proper, but not email
address).