Streaming API v 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 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.


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