On Tue, Nov 4, 2008 at 6:00 AM, José <[EMAIL PROTECTED]> 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
Jose,
Can you send me an HTTP transcript, following the instructions here:
http://code.google.com/apis/gdata/articles/debugging_client_libs.html#dotnet
Please strip out any authorization tokens that might be provided in
the response, since those can be used to access your account.
--
Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---