Skip to content
Discussion options

You must be logged in to vote

Okay, I found a solution.

I'm working in Windows WSL, and for some reason, there's a "clock skew" occurring (still not sure why).

But as a result, for the authorization step, I had to pass in my own "corrected" timestamp since my computer's timestamp was offset.

So I passed in a corrected timestamp as the last parameter my_timestamp:

self.session = OAuth1Session(
    self.consumer_key,
    self.consumer_secret,
    callback_uri=self.callback_url,
    signature_type="AUTH_HEADER",

    timestamp=my_timestamp
)

Long story short, I just realized that another Oauth1 session is created in the constructor of the account class, so that constructor call needs the timestamp too, just as the autho…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gabrieldhofer
Comment options

@gabrieldhofer
Comment options

Answer selected by gabrieldhofer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants