hello!

i am getting "Failed to validate oauth signature and token" response
while trying to get the request token from twitter with my python
program using oauth.py.

here is my HTTP logs:
//////////////////////////////////
"send: 'POST
https://twitter.com/oauth/request_token?oauth_nonce=07700601&oauth_timestamp=1261777512&oauth_consumer_key=varnie29a&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=varnie29a&oauth_signature=hNXbpoR6s9FNTE06EutCosNYcR8%3D
HTTP/1.1\r\nHost: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: 'HTTP/1.1 401 Unauthorized\r\n'
header: Date: Fri, 25 Dec 2009 21:45:13 GMT
header: Server: hi
header: X-Transaction: 1261777513-93289-15544
header: Status: 401 Unauthorized
header: Last-Modified: Fri, 25 Dec 2009 21:45:13 GMT
header: X-Runtime: 0.00343
header: Content-Type: text/html; charset=utf-8
header: Pragma: no-cache
header: Content-Length: 44
header: Cache-Control: no-cache, no-store, must-revalidate, pre-
check=0, post-check=0
header: Expires: Tue, 31 Mar 1981 05:00:00 GMT
header: X-Revision: DEV
header: Set-Cookie:
_twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJTM2ZmRkY2FiM2I5YWMzOGNhZWY5%250AM2Y5M2VmMDY0ZTQyIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz
%250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--4dda737f4bbc9760856f9269a486682656e704ad;
domain=.twitter.com; path=/
header: Vary: Accept-Encoding
header: Connection: close"
//////////////////////////////////

and the http response contains "Failed to validate oauth signature and
token". i've just checked my system time and it is OK because i'm
running NTP synchronization.

Please give me your ideas about this issue. Many thanks!

Reply via email to