Facebook PhoneBooks

By Carboni Last update Mar 4, 2010 — Installed 1,794 times.


Script Summary: PhoneBooks your friends from the PhoneBook list on FaceBook, Adds a bulk add form to capture to a [TAB] delimited list (too many ',' in FaceBook to use .CSV).

Version: 0.9.6

About this script

don't expect updates any time soon because I don't understand DOM or Java 1.6 well enough to do much more than putter with it till it works. This implementation is almost wholly dependent on FB to not change their DOM structure. If someone wants to tweak this to actually USE a full implementation of DOM and/or xHTML (ie; walk the tree and use firstChild/lastChild/nextSibling/previousSibling/sameNode/etc...), it would likely not break as easily, and be more flexible and re-usable...

It's not pretty, but it works. :-)

ToDo:

    1) version control based on userscripts.org {SOMEONE HELP HERE PLEASE}
    thanks to noone for their help.. not even so much as a suggestion... but I found http://userscripts.org/scripts/source/52251.use... and made it work. I also fixed the broken URI from facebook problem by changing what the script was testing for.
    2) add support for extracting data from the user profile page
    3) add support for auto-paging to the next -> last page and auto-restart capture
    4) add support for dynamic download of "file" based result and eliminate the textarea
    5) tighten the code and optimize for lower cpu cycles with OOP/Classes and prototypes
    6) other stuff as I think of it and/or users suggest/contribute it.

Make a Donation via Paypal

I'm a college student and father of two, so that equates to not having much time or money, but I still find the time to work on my user scripts. I put time and effort into my scripts so if you find this script useful, please consider making a donation.

Make a donation with paypal