Hi Khallaf,

i mean like without using GData services, we cannot get the contacts
in XML
its out of curiosity.

thnx
Gcr

On Jan 5, 11:12 am, Khallaf <[email protected]> wrote:
> '...............................................................................................
> Dim x As New GData.Contacts.ContactsService("ConSVC") ' :)
> x.setUserCredentials(YourFullEMailAddress, Password)
> Dim contaCOL = x.Query(New 
> GData.Contacts.ContactsQuery("http://www.google.com/m8/feeds/contacts/YourFullEMailAddress/full?max-result...";))
> ' to get a bigger contact collection, increase the number as you may
> wish!!
> For Each conta In contaCOL.Entries
>             Dim conEntry As GData.Contacts.ContactEntry = TryCast
> (conta, GData.Contacts.ContactEntry)
>             '
>             'some loop code
>             '
> Next
> '...............................................................................................
>
> BR,
>
> Khallaf
>
> On Dec 31 2008, 12:51 pm, cingularg <[email protected]> wrote:
>
> > Hi,
>
> > I am facing problem while trying to retrieve contacts feed.
> > 'ClientLogin' request goes fine and i get the SID, LSID and Auth
> > values
>
> >https://www.google.com/accounts/ClientLogin [POST]
>
> > accountType=GOOGLE&[email protected]&Passwd=test123
> > &service=cp&source=Jagg-GConnector-1.00
>
> > for contacts feed i am sending like
>
> >http://www.google.com/m8/feeds/contacts/myEmailid/full?&alt=atom&star...
> > [GET]
>
> > connection.setRequestProperty("GData-Version", "2");
> > connection.setRequestProperty("Authorization", "GoogleLogin
> > auth="+AuthToken);
> > connection.setRequestProperty("Content-Type", "application/x-www-form-
> > urlencoded");
>
> > getting 401: "Unauthorized" error.
>
> > correct me if something is wrong in the request or parameters.
> > thnx in advance
>
> > cing
--~--~---------~--~----~------------~-------~--~----~
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