Hello Alexey, Are you having any specific issue with this code? One thing I noticed is that you should use SSL (https) over non-SSL (http) whenever possible and you might some issue using the "base" projection which doesn't handle all of the contact fields unlike the "full" projection.
Best, Alain On Fri, Oct 21, 2011 at 9:16 AM, Alexey_kg <[email protected]> wrote: > Hi, > I have a code which changes existing fields as to me to add new a field for > example phone or the address in contact and to remove existing fields > > $query = new Zend_Gdata_Query(' > http://www.google.com/m8/feeds/contacts/###/base/4bfcf83a0a493676'); > $entry = $gdata->getEntry($query); > $xml = simplexml_load_string($entry->getXML()); > $xml->name->givenName = 'Alexey_kg'; > $extra_header = array('If-Match'=>'*'); > $entryResult = > $gdata->updateEntry($xml->saveXML(),$entry->getEditLink()->href,null,$extra_header); > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh | Developer Programs Engineer -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
