4 ms·
edit: I mis-spoke. You'd need to request the email address from each user individually. Okay, I admit, that is kindof sucky. That said, I completely underst
by blhack 16y ago
edit: I mis-spoke. You'd need to request the email address from each user individually. Okay, I admit, that is kindof sucky. That said, I completely understand this move. My guess is that this is to prevent "farmville" from dumping a list of all of my friends' emails, and then spamming them.
Isn't this all available via the Open Graph API?
(http://developers.facebook.com/docs/guides/web#personalization http://developers.facebook.com/docs/guides/web#personalizati...)
Edit: Yes, it absolutely is:
http://developers.facebook.com/docs/api http://developers.facebook.com/docs/api
About halfway down the page, click the link after the word "friends" for a JSON of your friends and their UIDs. Fetch this and iterate through the IDS for basic info.
Fetch this url: https://graph.facebook.com/$facebook_uid https://graph.facebook.com/$facebook_uid
here is my info: https://graph.facebook.com/ryanseamus https://graph.facebook.com/ryanseamus
- natrius 16y agoEmail addresses aren't in there. When I look at my own info, I see a @proxymail.facebook.com email address, which is presumably what an app would use to email me. It's not what you'd want for exporting contact info.
- joe_the_user 16y agoyes: "Getting an access token for a user with no extended permissions allows you to access the information that the user has made available to everyone on Facebook. If you need specific information about a user, like their email address or work history, you must ask for the specific extended permissions. "
- natrius 16y agoYou can only get information about one user at a time that way. Exporting the data can't be done. If you disagree, write the code.