Hello there,
I've got massive issues generating an OAuth signature. I followed the
instructions in the Developer Wiki (http://dev.twitter.com/pages/
auth#request-token) .
I think my algrithm is working, because I calculate the same signing
key with the example data.
But when I request a token I always get this terrible 401 Error.
Making always a POST Request on https://api.twitter.com/oauth/request_token.
I've tried to send the Data in the Header or in Postfields.
I also tried lexicographical order, no order, everything in
lexicographical order but the signing key at the end... always #401.
That's my generated data for the example values from the Wiki:
oauth_callback:"http%3A%2F%2Flocalhost%3A3005%2Fthe_dance
%2Fprocess_callback%3Fservice_provider_id%3D11",
oauth_consumer_key:"GDdmIQH6jhtmLUypg82g",
oauth_nonce:"QP70eNmVz8jvdPevU3oJD2AfF7R7odC2XJcn4XlZJqk",
oauth_signature_method:"HMAC-SHA1",
oauth_timestamp:"1272323042",
oauth_version:"1.0",
oauth_signature="8wUi7m5HFQy76nowoCThusfgB%2BQ%3D"