Get email contact lists

Hello.  I have a site where I want to set up a form to type in your account username or email address and password to be able to retrieve the contact list for that email address.  Needs to be able to work with Gmail, Yahoo, Hotmail, and maybe some other email providers.  This will be used to be able to share ads posted on the website.  For example, I post an ad and want to share it with all of my Gmail contacts.  Need to be able to input my Gmail account information, retrieve the contact list, and send out an email to each person sharing my newly posted ad with them.  The site is written in ColdFusion.  Is there a way that this can be done?  Thanks!
varimerewebAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
azadisaryevConnect With a Mentor Commented:
if you do not want your site to be marked as suspicious/dangerous phishing scam by google (and likely other search engines as well), then you will not implement this feature, not the way you are thinking about it.

this is the fist recommendation from a recent post on google webmaster central blog:
"- Don’t ask for usernames and passwords that do not belong to your site. We consider this behavior phishing by definition, so don’t do it! If you want to provide an add-on service to another site, consider using a public API or OAuth instead."

you can read the full post here:
http://googlewebmastercentral.blogspot.com/2010/03/will-real-site-here-please-stand-up.html

so instead of asking for usernames/passwords to email accounts, you need to implement the services' API for accessing contacts details, or, if the service supports it, OAuth authentication instead.
there are a lot of examples on the web for pretty much all services, plus most of them have APIs you can implement. just search for "[servicename] contacts api".

here are a couple:
http://code.google.com/apis/contacts/
http://developer.yahoo.com/social/contacts/
http://dev.live.com/contacts/

but definitely do not ask for usernames/passwords for services that you do not provide!

Azadi
0
 
Gurpreet Singh RandhawaConnect With a Mentor Web DeveloperCommented:
Well Yeah! Azadi is right!

If you wanna go for authentication of different websites!

you can have a look at googlecontact by ray Camden at riaforge.org website!

0
 
AndyBeardConnect With a Mentor Commented:
Gigya is a platform used for this purpose by many social sites such as Slideshare

http://www.gigya.com/

Previously Octazen was a great solution, but they were recently acquired

Maybe there is something you could do just using the addtoany widget, as that uses the APIs as well

There are many options which use account scraping, but as I have been highly vocal against these scripts as it is a security risk for users (and a business risk for those with domains, adsense, adwords etc), I am not even going to mention them.
0
All Courses

From novice to tech pro — start learning today.