How do I retrieve my contacts?

How can I retrieve contacts/emails from things like MSN, Twitter, Facebook, GMail , etc...?

  • I'm building an application that gives users the option to send out an email notification to their friends. The options I would like to give them for this are to: manually write down which emails they would like to send to choose contacts from a list of ones already in the database for that user choose all contacts from facebook, twitter, digg, gmail, or msn to send the email to Is there any way I can retrieve all of the email addresses for a certain contact from these different websites? For example, if I chose the option to send out email notification and I wanted to send it to all of my friends on my facebook account, how could I do this? (Remembering that the user is interacting with a completely separate website and should not have to go onto facebook to send this emails) Any ideas? Thanks in advance for your help! Matt

  • Answer:

Matt at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

For each websites (twitter, facebook, etc.) use their API for accessing contacts.

MicTech

Russau was faster with the Google contacts API. For sending Gmail messges there is also a third-party API http://code.google.com/p/gmail4j/. Actually I thought that also Google released one, but I couldn't find it at the moment. \Edit: http://googledataapis.blogspot.com/2009/06/new-contacts-data-api-features-are-here.html might be relevant too.

Juri

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.