Wow. That is way over my head. I just changed settings that a regular
user could access. I don't know anything about coding.

However, as a note, after I did my changes. I tried to use calaborate
to add my other calanders and it messed up everthing. I had to go
back, replace "[email protected]" with my e-mail---but I kept the
"@gmail" off of the "username" entry on the account info panel.



On May 15, 3:20 am, "[email protected]" <[email protected]> wrote:
> Fixed. I used something else then SetPostContent.
>
> On 14 mei, 17:44, "[email protected]" <[email protected]> wrote:
>
>
>
> > I am writing a client program to update the google calendar.
>
> > To do this I need to authenticate myself with the google API using the
> > ClientLogin.
>
> > I'm doing this:
> > [code]
> > (its REALBasic, similar to VB)
>
> >   strPostContent = "accountType=HOSTED_OR_GOOGLE" + _
> >   "&Email=" + strUsername + _
> >   "&Passwd=" + strPasswd + _
> >   "&service=cl" + _
> >   "&source=company-software-" + VERSION
>
> >   htsPost = New HTTPSecureSocket
> >   strAuthUrl = "https://www.google.com/accounts/ClientLogin";
>
> >   htsPost.SetPostContent(strPostContent ,"application/x -www-form-
> > urlencoded")
>
> >   strResponse = htsPost.Post(strAuthUrl, 100)
> > [/code]
>
> > strResponse gets "Error:BadAuthentication"
>
> > My username and password are the ones I use to login to gmail. I
> > checked and doublechecked those so that can't be the problem.
>
> > Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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