Basic authentication no longer supported for streaming API


While running the command from UNIX like
curl -u username:password “

I got error that Basic auth no longer supported.

I am not sure where I went wrong


Basic Auth is not supported for the 1.1 version of Twitter API, which is around for a very long time now. If you want to use the Twitter API you now need to authenticate using OAuth, more information about this can be found on the Twitter OAuth documentation.

If you want to play around with the API on the command line, I would suggest you try out twurl, for more information about how to use twurl, check out the Using twurl Tutorial.