Hi Julian,

I have latest Zend GData library and tried as you suggested
 $gdata->setMajorProtocolVersion(2);

but it doesn't work. No birthdays, no nicknames. this is the HTTP
response header:


HTTP/1.1 200 OK
Content-type: application/atom+xml; charset=UTF-8; type=feed
Expires: Tue, 08 Sep 2009 18:20:11 GMT
Date: Tue, 08 Sep 2009 18:20:11 GMT
Cache-control: private, max-age=0, must-revalidate, no-transform
Vary: Accept, X-GData-Authorization, GData-Version
Gdata-version: 2.0
Etag: W/"somerenadomchars."
Last-modified: Tue, 08 Sep 2009 18:20:11 GMT
Transfer-encoding: chunked
X-content-type-options: nosniff
Connection: close
Server: GFE/2.0

45C76

On 8 Sep., 16:08, "Julian (Google)" <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to