I got my desktop application registered on Twitter and successfully
got the PIN which I used to generate Token and Secret Key. I am
generating following signature for verify_credentials:

http://twitter.com/account/verify_credentials.xml?oauth_consumer_key=YvrptruncatedSAxFljg&oauth_nonce=8334754&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1260833274&oauth_token=ASGgOe4Zvv7XB1YftruncatedmNyd0wse4ydEzR2Q&oauth_version=1.0&oauth_signature=HWtyOQ5SSJ4wARVoQI2sEy8PA5M=

It always returns 401 Unaushorized error. Am I missing something. The
Response Header below:

Response Object Header
{Status: 401 Unauthorized
X-Runtime: 0.00163
Vary: Accept-Encoding
Connection: close
Content-Length: 419
Cache-Control: no-cache, max-age=1800
Content-Type: application/xml; charset=utf-8
Date: Mon, 14 Dec 2009 23:34:46 GMT
Expires: Tue, 15 Dec 2009 00:04:46 GMT
Set-Cookie:
_twitter_sess=BAh7BzoHaWQiJWZhYWE0ZjgwOTY4ZDA5ZDIzMjRjOTVmY2UxMmNlOWM1Igpm
%250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG
%250AOgpAdXNlZHsA--482b347c66dc8e1643fcf1b99a82f36aeee38f41;
domain=.twitter.com; path=/
Server: hi
WWW-Authenticate: Basic realm="Twitter API"
}

Reply via email to