Does anyone know the query code to access and edit a Google Contact? Please forgive if I'm not using the right terms, I'm new to both PHP, Google API and Zend Framework.
Here is what I am using to access and edit my Google Calendar event items:
$gcal = Zend_Gdata_Calendar::AUTH_
SERVICE_NA
ME;
$client = Zend_Gdata_ClientLogin::ge
tHttpClien
t($user, $pass, $gcal);
$gcal = new Zend_Gdata_Calendar($clien
t);
if (isset($_GET['id'])) {
try {
$event = $gcal->getCalendarEventEnt
ry('
http://www.google.com/calendar/feeds/default/private/full/' . $_GET['id']);
} catch (Zend_Gdata_App_Exception $e) {
echo "Error: " . $e->getResponse();
}
I basically need the same type of code but for the Google Contacts.
I haven't found or figured out what works for accessing Google Contacts to edit and delete them via my custom Client Management System.