Thanks Jeff, works like a charm now! Regards, Shiv
On Oct 5, 3:07 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]> wrote: > Hi Shiv, > > I believe the answer you are looking for is given in this article: > > http://code.google.com/support/bin/answer.py?answer=75506 > > The trick is you create a GAuthSubRequestFactory, set its Token > property, and then assign it to your service object's RequestFactory > property. > > Cheers, > -Jeff > > On Oct 5, 12:47 pm, Shiv <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I am writing a web app where the user will be directed to enter > > credentials on the google page and will then be redirected back to my > > App. I collect the token like so, > > > props.Token = AuthSubUtil.exchangeForSessionToken(token, > > null).ToString(); > > > But then, I am not finding a way to tell the service that I have this > > token. PhotoService is only willing to accept GdataCredentials or a un/ > > pwd set. Either of these options are not applicable to my case. > > > Does it not require the token or am I not looking in the right place? > > My request to fetch all albums for the default user (after > > authentication) returns an "internal error". > > > Thanks > > Shiv- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google 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-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
