Twittering from the command line
posted May 22nd 2008 9:50pm by Sean Percivalfiled under: arduino hacks, cellphones hacks
Justin Wickett was looking for a way to control his room lights via his cellphone. By using Bob Paauwe’s iLink INSTEON software and Twitter, he was able to control basic functions. Now he can SMS text like “bedroom lights off” and the software does his bidding. Of course, in the time it takes to send and process this request you could just as easily walk over and shut of the lights. We’re sure he’s planning more features than just that.

Adafruit Industries is selling an interesting device called the Botanicalls Twitter kit. It will post directly to Twitter when your plant is in need of water. Using a moisture sensor and built in Ethernet port it just requires some basic soldering to get started.

Pictured above is Ninja Networks’ Shoutwall from Defcon (photo: pinguino). It receives and displays direct SMS messages and Twitter updates. It also does reverse number lookups on Dodgeball to get user icons. An Ericsson T39m with a data cable is used because it provides an easy SMS interface. Take it to a party and your service provider is sure to wonder how you managed to receive 4000 inbound txt messages in one weekend.
curl --basic --user "$user:$pass" --data-ascii
"status=testing123" http://twitter.com/statuses/update.json

I actually came across a command line Twitter client written in Perl just a couple days ago:
http://www.floodgap.com/software/ttytter/
It uses curl or lynx to communicate with the servers.
Posted at 2:21 am on May 23rd, 2008 by Volt