Command line Twitter
You can easily update your Twitter status from the command line using cURL. The Tech-Recipes blog posted this handy command line hack:
With cURL installed, you can post to Twitter from the terminal window by using the following syntax:
curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xmlYou will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted.
Consider this: instant messaging is the new talk (phone for my VMS peeps) and Twitter is the new finger. It's nice to see at least one of these handy communication tools make its way back to the command line.
Posting to Twitter from the Terminal Window - Link
cURL downloads - Link
Posted by Jason Striegel |
Mar 9, 2008 09:39 PM
Linux, Mac, Ubuntu, Windows |
Permalink
| Comments (3)
Recent Entries
- Poromenos' hello world curve
- USB CapsLocker and Sun keyboard simulation
- Robosapien has a coil gun
- Faster Windows shutdown
- Assign USB drives to a folder
- Little drummer bot
- CSS ad blocking for Firefox and Safari
- Design Coding: web standards rap
- Shredz64: Guitar Hero for C64
- BATMAN: adhoc mesh routing
Comments
Newest comments listed first.
| Posted by: Jasont on March 9, 2008 at 10:07 PM |
wget also works (and may already be installed if curl isn't):
wget -O - --user=YOURUSERNAME --password=YOURPASSWORD --post-data="status=YOUR NEW STATUS HERE" http://twitter.com/statuses/update.xml
| Posted by: Michael Klier on March 10, 2008 at 1:56 AM |
Nice tip, though I'd use https:// instead of http:// for obvious reasons.
| Posted by: Nathan on March 13, 2008 at 10:23 AM |
you can also use Net::Perl, I wrote a quick perl script that syncs your .plan file to twitter.
http://char1es.net/2008/03/09/twitter-is-the-new-finger-a-bedtime-story-for-little-hackers/
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- Poromenos' hello world curve
- USB CapsLocker and Sun keyboard simulation
- Robosapien has a coil gun
- Faster Windows shutdown
- Assign USB drives to a folder
- Little drummer bot
- CSS ad blocking for Firefox and Safari
- Design Coding: web standards rap
- Shredz64: Guitar Hero for C64
- BATMAN: adhoc mesh routing
www.flickr.com
|





Leave a comment