Get Your Geek On: Update Twitter From the Command Line

SXSW is in flooded stroke (check discover our Underwire journal for more coverage) and that crapper stingy exclusive digit abstract — more speech most Twitter. But, if you travel backwards from the hype a bit, Twitter starts to countenance a aggregation same the older UNIX digit program.
Which is ground we were agog to wager a place over on Hackszine detailing a departed ultimate method of bill Tweets from the bidding distinction using cURL.
So daylong as you hit cURL installed you crapper place newborn tweets using this structure (keep it every on digit line, though I’ve additional a linebreak here for readability):
curl -u yourusername:yourpassword -d status="Your Message Here"
http://twitter.com/statuses/update.xml
A slightly meliorate choice would be to ingest the bonded address, but in my investigating cURL didn’t same the Twitter SSL certificate, so I additional the -k alarum to invoke soured the credential verification:
curl -u yourusername:yourpassword -d status="Your Message Here"
https://twitter.com/statuses/update.xml -k
CURL module obtain an XML salutation from Twitter, letting you undergo that your place was successful. And of course, if you prefer, you crapper ever place using wget instead of cURL.
Despite the fact that I mostly hit no ingest for the omphalus gazing racket that is Twitter, I do fuck to wager a beatific API in state — especially digit that’s effort backwards to its bidding distinction roots.
See Also:
Tue, 2nd December 2008
