3

Services as linkedin, facebook, etc, can import email addresses(contacts) from my Inbox if I provide my gmail/yahoo password. How are they doing it? Can I do it too, using PHP?

dole doug
  • 34,070
  • 20
  • 68
  • 87

5 Answers5

3

The Google Contacts Data API allows you to own your own contact data. We expect the API to be useful for a big range of applications. For example, developers can use it to:

  • Import a user's Google contacts into their web or desktop application
  • Export their application's contact list to Google
  • Write sync applications for mobile devices or popular, desktop-based contact management applications
David Glass
  • 2,334
  • 1
  • 25
  • 35
1

Yes you can. You need imap extension to make your live easier. Here is sample example howto do this for gmail. Yahoo should be similer if not same.

http://davidwalsh.name/gmail-php-imap

Hope that helps. Cheers

Edit: Got questions wrong.sry

Julian Davchev
  • 256
  • 1
  • 3
  • 9
0

You can use libgmailer for accessing Gmail in PHP

Trevor
  • 6,659
  • 5
  • 35
  • 68
0

Use the google contacts API.

Dave
  • 5,133
  • 21
  • 27
0

ContactGrabber looks like it should work for GMail, Yahoo, Hotmail and other services.

A PHP API for retrieving Mail From Yahoo, GMail, Hotmail

Community
  • 1
  • 1
S Pangborn
  • 12,593
  • 6
  • 24
  • 24