Closed rich-generator closed 9 years ago
Actually, fixed it now. Turns out I had to convert the timestamp to a string, so from this:
params = {
'oauth_version': "1.0",
'oauth_nonce': oauth2.generate_nonce(),
'oauth_timestamp': int(time.time()),
}
to this:
params = {
'oauth_version': "1.0",
'oauth_nonce': oauth2.generate_nonce(),
'oauth_timestamp': str(int(time.time()))
}
I'm getting a strange error when trying to connect to Yahoo BOSS, which wasn't had no issues on a prior version of oauth2. I believe I'm currently using 1.9.0.post1 on Python 2.7.9.
Here's the code:
This gives the following error:
It looks like it might be a bug, but I'm not sure whether it's just something has changed between versions and I'm now performing this wrong. Thoughts?