Skip to content

adnanmiljkovic/Google-Contacts-Data-API-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

OVERVIEW:
This is a simple way to retrive contacts from Gmail or a hosted application from Google with PHP. This script uses curl to make requests to Google Contacts Data API. 
More information about Google Contacts Data API can be found at:
http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html

WHAT YOU NEED:
PHP with curl enabled.

HOW TO USE:
Just replace the http://domain.com/google.php with your domain name and script path, upload the file and then click on "Authorize with GOOGLE", the user will be redirected
to Google's Account page where after logging in will get back to your page and list the contact's name and email address.

TODO:
-add validations (in case no token is sent to google)
-check if the tokens are valid
-show message if user has no contacts

About

Get e-mail contacts from Google Contacts Data API with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages