I’m having a similar problem, when I try to generate a cURL command through twitter’s oAuth tool I get the following code >
curl --get ‘https://api.twitter.com/1.1/statuses/home_timeline.json’ --header ‘Authorization: OAuth oauth_consumer_key=“SECRET”, oauth_nonce=“SECRET”, oauth_signature=“SECRET”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1379366110”, oauth_token=“SECRET”, oauth_version=“1.0”’ --verbose
When I try to run the code in CMD I get >
SSL certificate verify ok.
GET /1.1/statuses/home_timeline.json HTTP/1.1
User-Agent: curl/7.32.0
Host: api.twitter.com
Accept: /
HTTP/1.1 400 Bad Request
content-length: 61
content-type: application/json; charset=utf-8
date: Mon, 16 Sep 2013 21:17:17 UTC
Server tfe is not blacklisted
server: tfe
set-cookie: guest_id=v1%3A137936623778130572; Domain=.twitter.com; Path=/; Exp
res=Wed, 16-Sep-2015 21:17:17 UTC
strict-transport-security: max-age=631138519
{“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}* Connection #0 to
host api.twitter.com left intact
ANY IDEA WHAT I’M DOING WRONG? THANKS!