Basically AddressBooker takes a POST of contacts data in JSON form, and does stuff with it, where "stuff" is currently limited to merging it into your Google Contacts. (GMail, Android, etc) This was my experiment in learning GData, AuthSub, and App Engine a bit more.
Anyway, I then wanted to get my Facebook Phonebook exported to my Google Contacts, so it'd sync to my Android phone. I didn't see an export option in Facebook (maybe I missed it?), so I wrote a little GreaseMonkey script instead to automate the whole process:
http://bradfitz.com/greasemonkey/facebook_phonebook_export.user.js
If you have Firefox and GreaseMonkey, then click the above link and it'll ask if you want to install it. Install it, then go to your Facebook Phonebook
Enjoy!
(And keep in mind I barely know browser stuff or Greasemonkey or Python or App Engine or GData, so patches welcome!... brad@danga.com, or Github)
Update 2009-05-09: Updated the JavaScript to work with Facebook's new layout.
Update 2010-06-06: Facebook's markup changed again, but I'm too lazy to go update the script. Patches welcome.
Facebook just changed their markup
May 8 2009, 19:41:25 UTC 10 years ago
I'll check back later — would submit a patch if I knew more Javascript. :)
Thanks for creating this!
Re: Facebook just changed their markup
May 9 2009, 22:35:17 UTC 10 years ago
Re: Facebook just changed their markup
Anonymous
May 9 2009, 23:09:49 UTC 10 years ago
Didn't find phonebook right for: Aaron Adams
The name has been changed to protect the innocent...
Re: Facebook just changed their markup
Anonymous
May 10 2009, 11:15:41 UTC 10 years ago
"Couldn't find pattern i - j of K"
any thoughts?
Re: Facebook just changed their markup
May 11 2009, 03:15:02 UTC 10 years ago
Comments for this post were locked by the author