Here's another one:

### request_token request ###

GET https://api.twitter.com/oauth/request_token
Authorization: OAuth 
oauth_callback="<elided>",oauth_consumer_key="<elided>",oauth_nonce="6hEehWMV3NIXsVWyFz4q8mjeTsI",oauth_signature="6hCY%2FrfPwpM%2F1hxvEJ9CxNgHGhU%3D",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1293191794",oauth_version="1.0"
User-Agent: Net::Twitter/3.14002 (Perl)
X-Twitter-Client: Perl Net::Twitter
X-Twitter-Client-URL: http://search.cpan.org/dist/Net-Twitter/
X-Twitter-Client-Version: 3.14002

### request_token response ###

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Connection: close
Date: Fri, 24 Dec 2010 11:56:49 GMT
Pragma: no-cache
ETag: "e7e5d450fe4e32bf4e08e2bb28488221"
Server: hi
Vary: Accept-Encoding
Content-Length: 146
Content-Type: text/html; charset=utf-8
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Fri, 24 Dec 2010 11:56:49 GMT
Client-Date: Fri, 24 Dec 2010 11:56:34 GMT
Client-Peer: 128.242.245.29:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Client-SSL-Cert-Subject: 
/serialNumber=Zys2dJJ09EPoEVGXYtegIdxG3OZtEOib/C=US/O=*.twitter.com/OU=GT57932074/OU=See
 www.rapidssl.com/resources/cps (c)10/OU=Domain Control Validated - 
RapidSSL(R)/CN=*.twitter.com
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: k=67.225.143.18.1293191809136824; path=/; expires=Fri, 31-Dec-10 
11:56:49 GMT; domain=.twitter.com
Set-Cookie: guest_id=129319180914316110; path=/; expires=Sun, 23 Jan 2011 
11:56:49 GMT
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCHgIPRgtAToHaWQiJWM2NWYwZDYxODQ3NzM2%250AZmFkZTgzOWNkZmZmMTExODZmIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--c23a30feb9142b554775380bf2efb4264170c867;
 domain=.twitter.com; path=/
Status: 200 OK
X-Revision: DEV
X-Runtime: 0.01248
X-Transaction: 1293191809-82130-2825

oauth_token=Zfsd7FDcpeqjSWqAwNyqWpDoK4UMx4WV7VyrfLdlU0&oauth_token_secret=9aIb7CQGgXKxMwZ9E5T9mbYgWP4CdcvulKnCC25FtA&oauth_callback_confirmed=true

### access_token request ###

GET https://api.twitter.com/oauth/access_token
Authorization: OAuth 
oauth_consumer_key="<elided>",oauth_nonce="S30WA0bEbJcwIzPDzxAs82UTO0I",oauth_signature="aG%2ByaK9O5dpdVaV%2BEklnQEXMyVM%3D",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1293191803",oauth_token="Zfsd7FDcpeqjSWqAwNyqWpDoK4UMx4WV7VyrfLdlU0",oauth_verifier="S7mhbPhIlc0lV5py7NcwvjYDlcm9vGG6TXqCFPJk",oauth_version="1.0"
User-Agent: Net::Twitter/3.14002 (Perl)
X-Twitter-Client: Perl Net::Twitter
X-Twitter-Client-URL: http://search.cpan.org/dist/Net-Twitter/
X-Twitter-Client-Version: 3.14002

### access_token response ###

HTTP/1.1 401 Unauthorized
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Connection: close
Date: Fri, 24 Dec 2010 11:56:58 GMT
Pragma: no-cache
Server: hi
Vary: Accept-Encoding
Content-Length: 1
Content-Type: text/html; charset=utf-8
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Fri, 24 Dec 2010 11:56:58 GMT
Client-Date: Fri, 24 Dec 2010 11:56:43 GMT
Client-Peer: 128.242.250.157:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Client-SSL-Cert-Subject: 
/serialNumber=Zys2dJJ09EPoEVGXYtegIdxG3OZtEOib/C=US/O=*.twitter.com/OU=GT57932074/OU=See
 www.rapidssl.com/resources/cps (c)10/OU=Domain Control Validated - 
RapidSSL(R)/CN=*.twitter.com
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: k=67.225.143.17.1293191818221846; path=/; expires=Fri, 31-Dec-10 
11:56:58 GMT; domain=.twitter.com
Set-Cookie: guest_id=129319181823259876; path=/; expires=Sun, 23 Jan 2011 
11:56:58 GMT
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCPorPRgtAToHaWQiJTE2YzUyNjExZDBmM2Rl%250AN2ZkMDEzNzVmMjRjNjQxNDJjIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--75a4bc3acd6cfb8e2e0940223c37fca8a1c82af0;
 domain=.twitter.com; path=/
Status: 401 Unauthorized
X-Revision: DEV
X-Runtime: 0.01253
X-Transaction: 1293191818-42853-5932

 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to