Post Pidgin and Twitter status from command line

I often want to post the same status message in Pidgin and Twitter. I wrote  simple bash script to accomplish this.

One can download the script from here: http://www.spsneo.com/scripts/poststatus.tar.gz

How to use it -

1) Change the permission of the file to make it executable: chmod +x poststatus

2) Then execute the file with the status message as the argument: ./poststatus "Status Message goes here in quotes"

3) The script will first post the status message in your pidgin and will then ask whether you want to post it on twitter.  If you say yes, the script asks you for your twitter username and password.

Start using the script and send me feedback to improve it.

This entry was posted in bash, Linux, microblogging, Pidgin, Twitter and tagged , , , , , , . Bookmark the permalink.

4 Responses to Post Pidgin and Twitter status from command line

  1. Pingback: Tweets that mention /home/spsneo/blog » Blog Archive » Post Pidgin and Twitter status from command line -- Topsy.com

  2. Satyadeep says:

    thanks it works, but i need to install curl
    and set http-proxy in .bashrc file for proxy settings.

    thanks anyway for this script

  3. spsneo says:

    @Satyadeep

    I am really sorry, I forgot to mention that one needs to install curl.

    And http_proxy variable should be set if you are behind a proxy. I don’t think its required to be mentioned. Anyways thanks for pointing out.

  4. newshounder says:

    thanks its working good script

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>