Hi Liam,

I just wanted to mention that web apps should
being using AuthSub, which the Gdata PHP lib has support for.

Check out the Docs.php sample from the client library for idea
on the authorization flow:
http://googlecodesamples.com/docs/php/Docs.php
http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/Gdata/Docs.php

Eric

On Jan 20, 4:15 am, SoccerFit <[email protected]> wrote:
> Hi,
>
> I wonder if you could include the entire code for this...it looks to
> be Javascript to me.
>
> I am just not sure about the authentification process.
>
> Previously I have been using the Zend GData services library to access
> Google Spreadsheets and this proceeds OK provided you feed it a
> username and password...I gather that the authentification method you
> are using is AuthSub, which follows a different pattern (than that of
> the Zend GData client library).
>
> I would like to see some sample code about how that is done.
>
> Appreciate any help you might be able to provide.
>
> Regards,
>
> Liam.
>
> On Jan 17, 3:32 pm, SeNtHiL <[email protected]> wrote:
>
> > Hi Chewy81 ,
>
> >  To get a list of all folders i used this
>
> > *************************************************************************** 
> > *********************************
> > req = new XMLHttpRequest();
>
> > req.open("GET", 
> > "http://docs.google.com/feeds/documents/private/full/-/folder?showfold...";,
> > false);
>
> > req.setRequestHeader("Authorization", "GoogleLogin auth=" + Your
> > authentication token + "");
>
> > req.send(null);
>
> > *************************************************************************** 
> > *********************************
> > and it works.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to