Facebook friends email FQL?

In general, you CAN'T get the email address of your friends ( source ): User permission Friends permission email not available BUT but since your friend has authorized your application, you can try the following in the FQL console : SELECT email FROM user WHERE uid=FRIEND_ID What I suspect the problem could be is that you need the friend's access_token to actually get the email because I suppose you are logged-in as your user when trying your query. So you need to grant the offline_access permission and then use it with the query But before doing the above, I would try it with an application access_token P. S: the sub-query is not needed if you know the friend id.

In general, you CAN'T get the email address of your friends (source): User permission Friends permission email not available BUT but since your friend has authorized your application, you can try the following in the FQL console: SELECT email FROM user WHERE uid=FRIEND_ID What I suspect the problem could be is that you need the "friend's" access_token to actually get the email because I suppose you are logged-in as your user when trying your query. So you need to grant the offline_access permission and then use it with the query. But before doing the above, I would try it with an application access_token.P.

S: the sub-query is not needed if you know the friend id.

Thank you. This helped. With the smaller query it become faster and offline_access was needed at this time.

– the_nakos Feb 26 at 18:53 @the_nakos: You are welcome! – ifaour Feb 26 at 19:30 It does appear that at least one app Facely HD does have this functionality. They perform some kind of non-standard login, so it may be possible that they are performing an (illegal) login on their servers and scraping.

– The Mad Gamer Jun 24 at 2:53 So I tried to edit the above comment, but StackOverflow went down for a few minutes... It does appear that at least one app Facely HD does have this functionality - you can see a friend's email (who has not installed the app). Facely performs some kind of non-standard login, so it may be possible that they are performing an (illegal) login on their servers and scraping. I'd be curious if anyone could offer any insight.

FWIW, I have no affiliation with Facely. – The Mad Gamer Jun 24 at 3:01.

Check this out source out, lays it out in detail. faceconn.com/demo/InviteFriendsPage.php.

You can get email addresses of friends. Each account must opt-in to sharing their email address with the application. Friends can't opt other friends in, which is a good thing.

Also, as @Barkermn01 mentioned, drop the AND uid = '. $friend_id.

I am pretty sure AND is needed. How else the query knows which friends email address I want to query? (anyway I tried without AND and it gave me 31 empty email array element (I have 31 friends) ).

My partner gave permission to apps to have her email address. But I still can't get it with this fql. – the_nakos Feb 25 at 10:52 You're selecting the friends of the the "user", not the user.

The uid1='. $user_id. ' is what specifies which users/friends you are selecting.

Email addresses are not accessible by apps unless allowed by the user. You can see your friend's email, but the app can't. Which is why you got empty values.

– Brent Baisley Feb 26 at 2:15.

In general, you CAN'T get the email address of your friends ( source ).

You can't get email addresses of friends. Each account must opt-in to sharing their email address with the application. Friends can't opt other friends in, which is a good thing.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions