Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Trying to update twitter using the terminal. curl and wget codes I have found are not working, it looks like Twitter has updated the way it authenticates, is it still possible to update Twitter from command line?

This code is just saying Basic authentication is not supported. curl -u user -d status="Tweeting from the shell" http://twitter.com/statuses/update.xml

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Twitter has phased out basic authentication, and require that your client uses OAuth instead.

Fear not, you can still tweet directly from the command line, but it's a bit more hassle to set up. On way is to follow this guide to authenticate and use a python script.

share|improve this answer
Just what I needed to know, thank you. –  Matt May 24 '11 at 8:37
I think it's a dead link :/ –  Santosh Kumar Jul 31 at 7:34

It is definitely worth to take a look at Rainbow Stream - a fancy Twitter client on Terminal wrote by Python :)

share|improve this answer
Hi, welcome to AU. about the answer I should say for the cases which You do not refer to the exact answer It should be add your help on the comments. By the way thanks for sharing your information on the stack –  lion Jul 18 '14 at 6:56
I got it, sorry for the 1st time :( –  DTVD Jul 18 '14 at 13:41
just stack policy. have fun :) –  lion Jul 18 '14 at 13:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.