





























Reference :





Script Structure :

index.php [ Main Html markup and other scripts ]

mail.php [ Send Mail with Loop for Users ]

invite.js [ javascript file handling JSON data append and processing Gmail Contacts API ]

process.php [ Compare exisiting users and new users responding as JSON format to frontend ] Scope :

This is simple add-on Application for websites having Email users database.It is similar to Twitter,Linked Contact Importer where they get API access and fetch email from corresponding service and filter them accordingly as existing users and New users.and giving some options such as Follow or Connect and Inviting by Emails.

Javascript API for Gmail Contacts Import :

Gmail API Contacts let you to Read,Update,Create Contacts in Gmail.Core part of the Contacts API below Here.



Installation and Initialization:



check here how to get those keys

var clientId = ' Your Client ID here ';

var apiKey = ' Your api key here ';

var scopes = ' https://www.google.com/m8/feeds ';