I have been trying to put my contacts into groups as they are being
added to google contacts with very little success. Do you need to have
a group create first before you add contacts into that group, or does
the API create them on the fly as you add contacts?
I have tried using extensions to add contacts to a group
$extensionElements = $entry->getExtensionElements();
$extension7 = new Zend_Gdata_App_Extension_Element
('gContact',null, 'http://schemas.google.com/contact/2008');
$attributes7 = array();
$extension7->setText('WSAP');
$extension7->setExtensionAttributes($attributes7);
array_push($extensionElements, $extension7);
$entry->setExtensionElements($extensionElements);
which doesn't have any affect on the contact information. The Contact
group WSAP does already exist in my contacts list.
Also how do you create a new group.
Thanks alot!!
Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---