Twitter status updates from the shell
I updated my wiki script (Yawki) earlier, it now produces an RSS 2.0 feed and notifies Twitter when I add or edit a wiki page.
Yawki is a 30k shell script so I needed to find I way to notify Twitter via the shell. A little Googling later and I had the answer
curl -u yourusername:yourpassword -d status="Your Message Here" -k https://twitter.com/statuses/update.xml
You will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted. So, you might want to append…
>& /dev/null
…so you can discard the output. If you want to be fancy, check $? to see whether it’s nonzero
Posted on January 17, 2009 at 2:55 pm by Martin · Permalink
In: Messaging · Tagged with: curl, secure, shell, status, twitter
In: Messaging · Tagged with: curl, secure, shell, status, twitter





on January 23, 2009 at 4:42 pm
· Permalink
[...] am getting to like this micro blogging thing and having figured out how to update Twitter status via the shell I thought I do the same for Identi.ca. The solution is practically identi.cal, see what I did [...]