Command line Twitter

Technology

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.xml

You 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

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.

FEEDBACK