Hey guys, I am having issue with either authorization or my request. I am able to get the correct response out of the REST client and I have verified that my headers are the same as the REST clients, with the exception that nonce and the timestamp are different. I am trying to implement a single user OAuth, and I have my information from the applications page.
I am either getting a 400 error or a 401 error, the difference is between the order of the header parameters.
If I order the parameters nonce, signature method, timestamp, consumer key, token, signature, version. I get a 401 error.
However, if I order the parameters the same way as in the REST clients headers IE version, signature method, nonce, timestamp, consumer key, token, then signature I get a 400 error.
My question is does a 400 error mean I was authorized I just had a bad request? And like wise does a 401 error mean I had a good request I was just not authorized. which is the correct order for the parameters?
Anyways bellow is my url, and my headers I am trying to GET from. does anything look incorrect? I have verified that the timestamp is the same as the time stamp when using the rest client, well if I refresh both it is with ~2.
URL: https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=DIYMediaService&count=5
Header Parameters: OAuth oauth_nonce=“NjM1MDE4MDgwNjk2MjQwOTQ3”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1366236470”,oauth_consumer_key=“MYCONSUMERKEY”,oauth_token=“MYTOKEN”,oauth_signature=“MYSIGNATURE”,oauth_version=“1.0”,oauth_token_secret=“MYTOKENSECRET”
Thanks in advance for the help.