Hello everyone,

I have been messing with this for a few days now and I am out of ideas. I am 
using C# and the Google data API to connect to gcal and edit event data 
within my desktop application. That is working perfectly fine and there are 
no issues at all. 

The problem is that I want to show a calendar in a WebBrowser control using 
the embed url. This would be fine if the calendar were public, but due to 
the specification of the application, I can't do that. The question, which 
has driven me crazy, is how to login to Google in the WebBrowser control. I 
have tried everything I can thing of, including:

-using a HttpWebRequest object, logging in 
using https://www.google.com/accounts/ClientLogin, and then using the HTTP 
Authentication Header to pull the calendar HTML to write to the WebBrowser 
control

-using the Navigate method of the WebBrowser control to login with either 
ClientLogin or the actual login 
at https://accounts.google.com/ServiceLoginAuth, then loading the embed page

-using a HttpWebRequest to pull the dsh and GALX values and then doing the 
above or putting it into a html document with the login form saved and then 
adding the email and password.


In any of these methods, I can't seem to login. In the methods where I login 
using the WebBrowser control, I see a message about my browser 
not supporting cookies (but it does). Nearly every time, I see a login box 
when I go to the embed page, or get an unauthorized response. 

Any help would be extremely appreciated.

Thanks,

-Matt

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to