I recommend just using OAuth, as detailed here:
http://code.google.com/apis/gdata/docs/auth/oauth.html#OAuthRequestToken

-Vic



On Fri, Jun 24, 2011 at 9:56 AM, Jojo <[email protected]> wrote:

> I think this is 1%2F-
> P7-G4jDFLFSzPjlxBQM7kUqveL1JuPddjCTycUOBdA (1/-P7-
> G4jDFLFSzPjlxBQM7kUqveL1JuPddjCTycUOBdA) an OAuth token, but I'm using
> AuthSub!
>
> On 24 Giu, 14:10, Jojo <[email protected]> wrote:
> > I hope this can help you...
> > I have seen in some document token returned from google is something
> > like that 14a87fe98219731acd516, while i get this kind of token: 1%2F-
> > P7-G4jDFLFSzPjlxBQM7kUqveL1JuPddjCTycUOBdA (1/-P7-
> > G4jDFLFSzPjlxBQM7kUqveL1JuPddjCTycUOBdA).
> >
> > I think maybe this token is wrong.... any ideas?
> >
> > thank you
> >
> > On 21 Giu, 21:38, Jojo <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > hi guys!
> > > I have just started with google spreadsheets api.
> > > I'm trying to gain access to my spreadsheets list from aweb
> > > application, but there is some error that it is driving me crazy.
> > > I have followed the tutorial in the python documentation section here:
> http://code.google.com/intl/it-IT/apis/spreadsheets/data/1.0/develope...
> >
> > > AuthSubURL is generated, and the roundtrip works fine. my page is
> > > called back with the token and auth_sub_scopes parameters.
> >
> > > Now I get the problem.
> > > I can't retrieve the feed list either in singol-use mode or with
> > > session token.
> >
> > > this is a snippet of my code:
> >
> > > feed = None
> > > token = request.params['token']
> > > gd_client = gdata.spreadsheet.service.SpreadsheetsService()
> > > gd_client.auth_token = token
> > > gd_client.UpgradeToSessionToken() # comment for singol-use mode
> > > (modity session parameter for authsub request)
> > > feed = gd_client.GetSpreadsheetsFeed()
> >
> > > if I try the single-use mode I get 404 error, else NonAuthSubToken
> > > exception
> >
> > > I think I have followed every step in the tutorial and I have
> > > registered my domain in google.
> >
> > > please I need some help.
> >
> > > thank you all and good work
>

Reply via email to