Skip to Content

Free TUAW iPhone app -- try it now!
AOL Tech

cURL posts

Filed under: Internet, Windows, Macintosh, Linux, Unix

Post to Twitter using the command line

cURL + Twitter
File this one squarely in the "because we can," category, but the Digital Streets blog has a tip for command line junkies who want to update Twitter without opening a web browser or a 3rd party application. All you need to do is install cURL, a command line utility for Linux, Windows or OS X and then send a message to Twitter with your status updates.

In Ubuntu, here's how to install cURL:
  1. Open a terminal
  2. Type "sudo apt-get install curl" (without the quotes)
  3. Enter your root password when prompted
Once cURL is installed, you just need to type the following to send a tweet (this time you should include the quotation marks around your message): curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xml

It's up to you to figure out why you would actually want to do this, but now you can.

Featured Time Waster

The World's Hardest Game 2.0 - Time Waster

So, just how good at time waster games are you? Think you've got the stuff? Well, The World's Hardest Game 2.0 doesn't think you do. Yes, amazingly, it's possible to have a sequel to a game called "The World's Hardest Game". It doesn't seem logically possible, since if the first one was actually the world's hardest, how could another one come along and share the moniker? It made me doubt the name in the first place. That is, until I tried the game. The mechanics of the game are very simple. You are a small red square, ...

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Microsoft Security Essentials
Chromium Pre-Alpha on CrunchBang Linux
Safari 4 Beta
10 Firefox themes that don't suck
IE8 RC1
Download Squad at the Crunchies After-Party
Download Squad at the Crunchies
WordPress 2.7
Cooking Mama: Mama Kills Animals
Windows 7 Hands On
Comodo Internet Security
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
Mozilla Birthday Cake
Palm stuff
Adobe Lightroom 1.1

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

More Tech Coverage

AOL Radio