tweet from bash a better alternative!
TSo yesterday I spent a good while looking for options that didn’t require me to memorize a huge long string just to post to twitter, and I thought I had found one until I realized that nope, that only works if your in the same bash session and won’t still be there after a reboot or even just a new terminal window.
So trial and error and I have the solution!
in a terminal window go to /usr/local/bin
[codesyntax lang="bash" lines="no"]
|
1 |
cd /usr/local/bin |
[/codesyntax]
then make a file called twitter
[codesyntax lang="bash" lines="no"]
touch twitter
[/codesyntax]
then open it
[codesyntax lang="bash" lines="no"]
nano twitter
[/codesyntax]
and add this command replacing username and password with YOUR twitter account info
echo $@|tr ' ' '+'” “http://twitter.com/statuses/update.json”
Firefox 7.0.1 on
Windows 7 x64 Edition
Google Chrome 15.0.874.121 on 
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.8 (KHTML, like Gecko) Iron/4.0.275.2 Chrome/4.0.275.2 Safari/532.8
I still use this often and have to say it’s great!
Simple!
Gnome-do publishes the updates in real time, and then I just respond in bash