Streaming API v 1.1


#1

I have a problem with the streaming API.
When I generate the curl command from the REST search api, it works correctly and I’ve got json response, instead when I use the curl command generated in the streaming api with the OAuth Tool (On the side of this page https://dev.twitter.com/docs/api/1.1/get/statuses/sample) I get HTTP ERROR: 401 Problem accessing ‘/1.1/statuses/sample.json’. Reason:Unauthorized. I’am using OS X 10.9 with bash terminal. Thank you for your attention to this matter.


#2

Have you executed the curl command just after generating it? The generated commands are just valid for a short period of time.