Hi Pet, You need to set the GData protocol to version 2 to use the latest Contacts API, you also may need to download the latest Zend client library.
To set the protocol to v2, use: $gdata->setMajorProtocolVersion(2); Cheers, Julian On Sep 7, 7:20 pm, Pet <[email protected]> wrote: > As URL i have > > http://www.google.com/m8/feeds/contacts/username%40gmail.com/full > > On 7 Sep., 20:18, Pet <[email protected]> wrote: > > > Hi Julian, > > > basically I'm using following code which I found on group. I have no > > idea how to use the "full" projection. > > > Could you give me a hint, please? > > > Pet > > > require_once 'Zend/Loader.php'; > > Zend_Loader::loadClass('Zend_Gdata_ClientLogin'); > > Zend_Loader::loadClass('Zend_Gdata'); > > Zend_Loader::loadClass('Zend_Gdata_Query'); > > > // Using Client Login > > $client = Zend_Gdata_ClientLogin::getHttpClient(EMAIL,PASSW, "cp"); > > $gdata = new Zend_Gdata($client); > > $query = new Zend_Gdata_Query(URL); > > $query->setMaxResults(1000); > > $feed = $gdata->getFeed($query,"Zend_Gdata_App_Feed"); > > > On 7 Sep., 12:06, "Julian (Google)" <[email protected]> wrote: > > > > Hi Pet, > > > > How are you retrieving the contacts list? Double check that you are > > > using the "full" > > > protection:http://code.google.com/apis/contacts/docs/2.0/reference.html#Projections > > > > Cheers, > > > Julian > > > > On Sep 4, 3:37 pm, Pet <[email protected]> wrote: > > > > > Hi, > > > > > I'm retrieving my contact list via PHP library and atom feed has not > > > > all contact details. Nickname, birthday and some other are not > > > > present. Is there a way to get missing details? > > > > > Pet > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
