Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to get all email addresses of all facebook friends

then how can i get it....
i need it.....so please help

thnx
Posted

I would not expect that you can get such information as it is protected by privacy laws. If in doubt look at the facebook API.
 
Share this answer
 
Comments
Ed Nutting 25-Feb-12 17:16pm    
I recognise this is an old question but (since I have now seen it) would like to point out that (unfortunately) you can get friends email addresses! While you would have thought it would be against Privacy Policy, Facebook has got around the issue by having 'security' options for what your friends can share about you with apps. Outrageously the options for what you want to share are all turned on by default and only if you go through several menus of private settings (all not using HTTPS of course unless you happened to have turned that on - by default it's off) to turn off these options. On the whole, most users will never find these options, nor even know about them. This means that apps CAN access friends email addresses along with names, postal addresses, you name it! If you can get it for a profile, you can get it for a friend's profile most of the time. Some users may have blocked this (by changing their settings) so it is not 100% reliable but it will work in at least a (scarily) large proportion of cases!

So, unless Facebook have changed their attitude in the last 6 months (which judging by recent displays they haven't.... See this news article), the API will still give you the same access as when I tried it.

Just thought I'd make a few more people aware of Facebook's more "ridiculous" security features,
Ed


Edit: I just thought I'd revisit the Facebook API and would now like to correct my statement: While it appears you can no longer get email addresses of friends you can still get their name, id and other (sufficiently personal) information. The Id of course then gives you access to the profile itself (as an app you can function through one users profile and so gain access through profile Ids of friends). This in turn allowed me access to all my friends' feeds and posts and other information - more than sufficient in most cases for me to (if I was inclined to but I am not) track them and work out exactly when they won't be at home - I think you see where this is going. Anyway, this is why I criticise Facebook security settings _ I certainly don't want apps accessing my feed without me knowing/allowing it and the fact that Facebook enable this by default (or again I have to say it was enabled by default when I found out 8 months ago but may have changed) seems insecure and unfriendly to users. Anyway, what can anyone do about it eh? Facebook are too big for anyone to really take on over stuff like this...
Richard MacCutchan 26-Feb-12 3:19am    
Ed, thanks for this information, but I think you ought to make it (more) public somehow so pressure is put on them to change it.
Ed Nutting 28-Feb-12 13:14pm    
Perhaps...but as I say, Facebook does have a bit of a 'reputation' and are "too big" - i.e. can make lives too much of a misery - so doing this more publicly without some serious hard research, facts, figures, screen shots and the rest would be an even bigger risk than it is just posting the above. It's a shame the way the world has gone with this sort of thing really... I mean Facebook is a fantastic tool and is a valuable part of the modern "social scene" (or whatever you want to call it) but it is by no means flawless (though they certainly seem to try and give out that image, but that's just my impression). Maybe someone else will take up the fight eh? :)
You cannot retrieve this information from Facebook - if you were able to do this, then Facebook would be slammed from pillar to post for violating privacy. If you need to contact your friends, you could always push content to their wall. You would need something like the Facebook Developer Toolkit[^] and then call the Publish method to get in touch with your friends.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900