This post was migrated over from Muziboo DevBlog.
Blackbook gem is the easiest way to add address book import functionality in your webapp. It currently supports Gmail, Yahoo, Hotmail, AOL and CSV import. I recently patched the gem to add myspace address book import functionality and have checkedin the code on github. I also fixed the name import for gmail. You can find the patched blackbook gem with myspace import functionality here. Since myspace uses email address for login, its not possible to get the blackbook source (myspace) using the username. To import the myspace addressbook, you therefore need to do this
I have tested the code and its currently in use in Muziboo. If you run into any issues, let me know and I try to fix them. Once the code is stable enough, I will send a pull request to the maintainers of the project.