CF Needs An Open Source Contact List Importer
Posted By : todd sharp Posted At : June 30, 2008 10:50 AM Posted In: ColdFusion
9
What do I mean by contact list importer? Well, join any 'social network' nowadays and you'll likely be presented with a utility to allow you to invite your friends to that network by importing your contact list from GMail, Yahoo Mail, etc. These utilities are pretty nice, but if you think about it the code behind them is pretty powerful. Essentially you need a mechanism to speak to each individual web mail clients API to authenticate and retrieve the user's contacts, then grok each individual response based on the API to normalize the contact data.
There are paid software products available that do this (for example this one from Octazen Solutions) but I say there is no reason we can't build a comparable open source product. I emphasize 'we' becuase I simply don't have the time to research the API for every client and bang out the necessary code to make all them work. On top of that, I don't have an account with most of them, so I'd have to take them time to sign up for each service too.
So here is my suggestion. We, as a community, work on this project. I've already started it - I've got a simple GMail importer built that does the trick. I think we'd need to come up with a standard return format and then have a handful of folks willing to contribute code for the individual API's out there. Do folks think this would be useful, and if so are you willing to contribute?



It looks like this project provides a way to authenticate with Yahoo: http://yahoobbauth.riaforge.org/ so in theory it wouldn't be too hard to extend that to then export contact information.
Good luck with your attempt to start a group effort, though!
But its worth the effort I think. I would be ready to help out in my rarely available spare time.
Create a project in google code... we join... we take an implementation. basically do it like an ORM :)
MD
Here are some of API's:
http://code.google.com/apis/contacts/developers_gu...
http://developer.yahoo.com/addressbook/
http://msdn.microsoft.com/en-us/library/bb463979.a...
http://developers.facebook.com/documentation.php?v...
http://www.bebo.com/docs/api/Default.jsp
Hopefully projects like Open Social, OAuth and OpenID will eventually lead to an alternative solution to giving out your passwords.
Bottom line is, obviously many folks don't mind much about giving out their passwords since so many (even you) have done it. Yahoo must agree with you because their BBAuth method requires a redirection to Yahoo's site to authenticate which then returns the user to your site with an auth token.