Hello,

The timestamp is generated like
that<http://code.google.com/p/gdata-python-client/source/browse/src/gdata/gauth.py#748>
:
  timestamp = str(int(time.time()))

Can you make sure that the time on your system is close to an actual time?
Best,
Alain

On Wed, Sep 7, 2011 at 8:15 AM, maykino <[email protected]> wrote:

> I get this error when trying to work with oAuth.
>
> My code:
>
> import gdata.gauth
> import gdata.docs.client
>
> CONSUMER_KEY = 'xxx.apps.googleusercontent.com'
> CONSUMER_SECRET = 'xxx'
> SCOPES = ['https://docs.google.com/feeds/', 'http(s)://
> www.google.com/m8/feeds/']  # example of a multi-scoped token
> client = gdata.docs.client.DocsClient(source='maykino123')
> oauth_callback_url = 'http://localhost:8080/'
> request_token = client.GetOAuthToken(
>     SCOPES, oauth_callback_url, CONSUMER_KEY,
> consumer_secret=CONSUMER_SECRET)
>
> What is the problem?
>
> M.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
>



-- 
Alain Vongsouvanh

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to