I am starting at ground one with this.  I want to return a set of
calendar events for a range of dates.  I am using the sample c# code
and have a few questions.

1)  What is feedUri in the code below?  What should its value be?

static void Main(string[] args)
        {
        userName = "[email protected]";
        userPassword = "pass1234";
        feedUri = @"http://gmail.com";;
        }

2)  What is the CalendarService parameter?  What value should I
supply?

CalendarService service = new CalendarService("exampleCo-
exampleApp-1");
service.setUserCredentials(userName, userPassword);

3)  The code follows.  I am getting an Invalid Credentials error
below:

PrintUserCalendars(service);
.
.
static void PrintUserCalendars(CalendarService service)
        {
            FeedQuery query = new FeedQuery();
            query.Uri = new Uri("http://www.google.com/calendar/feeds/
default");
            AtomFeed calFeed = service.Query(query);  //Error here -
Invalid Credentials


-- Any help would be appreciated.

Thanks.



--

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.


Reply via email to