6 ms·
Convert your Facebook friend contacts to CSV
- ivan_ah 15y agoEveryone quick! Get it, before the cease and desist letter comes. ( backup: http://piratepad.net/VKHtw0Txli http://piratepad.net/VKHtw0Txli )
- frgtn 15y agoThe letter might hit some complications since the site is outside of US.
- bhousel 15y agowtf.. 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/ http://developers.facebook.com/docs/reference/api/
- bjonathan 15y agoyou 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
- cdcarter 15y agoGraph API does not expose phone numbers
- unicornporn 15y agoI think this is where fbcmd [ http://fbcmd.dtompkins.com/ 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.
- unicornporn 15y agoWeird, 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/ficlccidpkaiepnnboobcmafnnfoomga 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-your-facebook-friends-private-email-addresses/ 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.
- ovi256 15y agoHey, the language that gets the job done is the proper one.
- alttab 15y agoAfter browsing the source I thought there has to be a better way
- ComputerGuru 15y agoJust 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.
- zalew 15y agoI used http://www.cleanmywall.net/ http://www.cleanmywall.net/ which was scrapping for over 12h, also used https://chrome.google.com/webstore/detail/ficlccidpkaiepnnboobcmafnnfoomga 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.
- tahu 15y agoThe code is updated - now randomizing the order and time in which contacts are polled.
- GeoDeV 15y agoI 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
- kennethologist 15y agoCool stuff. Got a lot of insight from the code.