Tweet from command line

There are many ways of tweeting applications and programs available on the net. Click on an icon and you will be redirected to your twitter homepage, use an a twitter application and a lot more. Here is another such method. Using Curl you can tweet by executing a single command on your terminal.

[shredder12]$ curl  -u shredder12:mypassword -d status='a commandline tweet'  https://twitter.com/statuses/update.xml

As you can see, tweeting is just a command away ;).

1 Comment

Matthew Bauer (not verified)
July 25th, 2010 08:04 am
It's probably smart not to put your password in you bash history. This works great: $ curl  -u shredder12 -d status='a commandline tweet'  https://twitter.com/statuses/update.xml It will just ask you for your password after you execute the command.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use syntax $$latex$$ to insert LaTeX formulas.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.