On Sun, Nov 25, 2012 at 10:21 PM, Vish <
vish...@gmail.com> wrote:
> Hi,
>
> Appreciate the help so far. A couple of questions on using the sample here.
>
https://codereview.appspot.com/5362041/patch/1/2
>
> So, Should I get the client id and secret for an installed application and
> use it with the script?
Yes.
>
> Also, if i generate a refresh token with script above, How do I go about
> using the refresh token in AppEngine app on the local server?
The script stores a full Credentials object in the cmd-line.dat file
which you can use directly:
storage = Storage('cmd-line.dat')
credentials = storage.get()
> Should I use
> it with the AppAccessCredentials? If so, how do i go about doing it since
> the AppAccessCredentials class can't be initialized with the refresh
> token...
>
>
>
> Thank You,
> Vish