How to write the Oauth code?


#1

I want to know how to write the API code so my web site can connect to Twitter and sign into Twitter.

GET /
Host: twitter.com:80

oauth_consumer_key="MqfxDJ9h1T4ZvWshOeiGgA",

where do get all the keys i need below?

oauth_token="23638744-qbJr4lryJin1akdDntdDkQeKh5C3uwLFuraVlqT3L",  *
oauth_nonce="kllo9940pd9333jh",
oauth_timestamp="1191242096",
oauth_signature_method="HMAC-SHA1",
oauth_version="1.0",
oauth_signature="tR3%2BTy81lMeYAr%2FFid0kMTYa%2FWM%3D"

#2