I do assume for the moment that your credentials are not invalid. Can
you capture the HTTP traffic and send them to me (if you post them on
the list and there is an authorization header, make sure you remove
the actual data).
I have seen a few reports about this since the new release (are you
using 1.2.3.0?) and i am trying to figure out what is going on. I
can't reproduce it though yet...
Frank Mantek
Google
On Nov 4, 2008, at 9:00 AM, José wrote:
>
> After some hours trying get some data from google calendar, and
> reading many pages of samples
> I'm totaly stuck in this
> I'm using Visual Studio 2005
> Whenever i run this test code, i ge an error "Invalid Credentials"
> from google service, this appens when i call query.uri line
> It seems that the line of setusercredentials runs fine with no error,
> but when i try to do something after the authentication it lost the
> credentials......
> Someone have any ideia how to put this to work????
>
> Thanks
> José
>
> Dim query As Google.GData.Calendar.EventQuery = New
> Google.GData.Calendar.EventQuery()
> Dim service As Google.GData.Calendar.CalendarService = New
> Google.GData.Calendar.CalendarService("test-application-name")
> service.setUserCredentials("[EMAIL PROTECTED]", "*****")
> query.Uri = New Uri("http://www.google.com/calendar/feeds/default/
> private/full")
> Dim calFeed As Google.GData.Calendar.EventFeed = service.Query(query)
> Dim feedEntry As Google.GData.Calendar.EventEntry
> For Each feedEntry In calFeed.Entries
> MessageBox.Show(feedEntry.Title.Text)
> Next
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---