News for hackers. Stuff that matters.
Re:Convert your Facebook friend contacts to CSV by unicornporn on Saturday May 28, 2011 @12:43PM (#2594715)
Weird, I've decided to leave FB and was working on doing this an hour ago. I ended up using: https://chrome.google.com/webstore/detail/ficlccidpkaiepnnbo...

You can also use this method: http://techcrunch.com/2010/11/12/how-to-mass-export-all-of-y...

but for me it only exported contacts that had their email address visible. "Facebook Friend Exporter" worked better.

Re:Convert your Facebook friend contacts to CSV by ovi256 on Saturday May 28, 2011 @07:08PM (#2595419)
Hey, the language that gets the job done is the proper one.
Re:Convert your Facebook friend contacts to CSV by bhousel on Saturday May 28, 2011 @11:28AM (#2594564)
wtf.. Why screen scrape Facebook from a bookmarklet, when the Graph API gives you all this and more in JSON.

http://developers.facebook.com/docs/reference/api/

Re:Convert your Facebook friend contacts to CSV by cdcarter on Saturday May 28, 2011 @01:31PM (#2594811)
Graph API does not expose phone numbers
Re:Convert your Facebook friend contacts to CSV by unicornporn on Sunday May 29, 2011 @06:13AM (#2596364)
I think this is where fbcmd [ http://fbcmd.dtompkins.com/ ] enters. It can do some fancy things scraping has trouble doing. I extracted tel numbers and other info from friends in tidy CSV, downloaded all the photos I was in and more.
Re:Convert your Facebook friend contacts to CSV by bjonathan on Saturday May 28, 2011 @12:13PM (#2594660)
you cant have all that informations via the Graph API I think. For example the birthday dates of my friends, I cant have them via the API
Re:Convert your Facebook friend contacts to CSV by inji on Saturday May 28, 2011 @12:42PM (#2594713)
Yeah, you can. You can get alot out of the Graph API.

  https://graph.facebook.com/me/friends?fields=birthday&access_token=[...]
Re:Convert your Facebook friend contacts to CSV by bjonathan on Saturday May 28, 2011 @01:48PM (#2594838)
oops, ok my bad! Thank you :)
Re:Convert your Facebook friend contacts to CSV by enki on Saturday May 28, 2011 @02:56PM (#2594977)
what's really missing is the phone numbers.
Re:Convert your Facebook friend contacts to CSV by ComputerGuru on Saturday May 28, 2011 @04:17PM (#2595126)
Just be careful, Facebook monitors for scraping activity and has deleted accounts over this in the past.

Would be great if it offered a variable sleep option, to make it a bit less of a dead giveaway.

Re:Convert your Facebook friend contacts to CSV by zalew on Saturday May 28, 2011 @05:01PM (#2595205)
I used http://www.cleanmywall.net/ which was scrapping for over 12h, also used https://chrome.google.com/webstore/detail/ficlccidpkaiepnnbo... to export my friends and luckily I wasn't banned. I wonder what are the criteria to get banned for scrapping.
Re:Convert your Facebook friend contacts to CSV by tahu on Saturday May 28, 2011 @05:13PM (#2595231)
The code is updated - now randomizing the order and time in which contacts are polled.
Re:Convert your Facebook friend contacts to CSV by GeoDeV on Saturday May 28, 2011 @06:30PM (#2595350)
I just had to do the very same thing, except instead of Facebook, it was a contact list in a proprietary medical office database. Since my programming skills are limited to Basic and Pascal, I just used AutoHotKey and the AutoHotKey Recorder. After a little editing, i.e. adding a test for empty boxes and putting the whole script in a loop, it was working fine. I considered teaching myself Ruby, but I knew it would be much faster to use AutoHotKey. But it's really interesting to see the same process in a proper computer language
Re:Convert your Facebook friend contacts to CSV by ivan_ah on Saturday May 28, 2011 @11:05AM (#2594517)
Everyone quick! Get it, before the cease and desist letter comes. ( backup: http://piratepad.net/VKHtw0Txli )
Re:Convert your Facebook friend contacts to CSV by frgtn on Saturday May 28, 2011 @12:33PM (#2594696)
The letter might hit some complications since the site is outside of US.
Re:Convert your Facebook friend contacts to CSV by alttab on Saturday May 28, 2011 @01:29PM (#2594806)
After browsing the source I thought there has to be a better way
Re:Convert your Facebook friend contacts to CSV by kennethologist on Sunday May 29, 2011 @11:07AM (#2596764)
Cool stuff. Got a lot of insight from the code.