Hello,
I am brand new to Twitter API and have spent a phew days on Twitter docs and forums with no luck. Please help, I don’t know where else to find solution.
I am trying to make following request and always get 400 - Bad request. I am sure my authorization headers are correct and I have not exceeded limit. There is no body in the response, therefore I have no details of what has gone wrong.
GET https://api.twitter.com/1.1/statuses/home_timeline.json
Accept: /
Connection: close
User-Agent : Fiddler
Content-Type: application/x-www-form-urlencoded
Authorization: OAuth oauth_consumer_key=“xxx”, oauth_nonce=“u9cQiN458UduqURVCQI2LilodoHfhJWys79LKP5DTa”, oauth_signature=“KmTPuZzSusGFQRQm6728Ei0%2BKYU%3D”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1538166457”, oauth_token=“xxx”, oauth_version=“1.0”
Content-Length: 0
Host: api.twitter.com
all my algorithms match results with:
https://developer.twitter.com/en/docs/basics/authentication/guides/authorizing-a-request.html
https://developer.twitter.com/en/docs/basics/authentication/guides/creating-a-signature
Please advise, this is starting to drive me crazy. You are my only hope. If I could only see details of 400 - Bad request (e.g. in request body)
Thank you very much.
Kind regards,
Roman