Twitter recently published the new 1.1 Streaming APIs discontinuing the previous one, with this new APIs the authentication method changed and the user:pass pair is no more enough, now you need to:
- Create your app at https://dev.twitter.com/apps
- Create the access token from your app’s details page (refresh after a while, it takes few seconds and the page doesn’t autorefresh)
- Go to the OAuth tool tab and insert the URI you want to query, the query parameters and the request type, then click the button to generate the OAuth signature for your request.
- The page is now showing the cURL command, copy and paste on your terminal and you’re done