Post to Twitter from the Terminal Window
Posted by admin on March 15th, 2008
Email This Post
Install curl in ubuntu
Open the command prompt and enter the following command
sudo aptitude install curl
Enter your root password when it is prompted.
Using curl
Now if you want to post to Twitter use the following command in single line
curl -u yourusername:yourpassword -d status=”Your Message Here” 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.
Using wget
Enter the following command in single line
wget -O - –user=YOURUSERNAME –password=YOURPASSWORD –post-data=”status=YOUR NEW STATUS HERE” https://twitter.com/statuses/update.xml
Using ZenTwitter
Download ZenTwitter from here
Installation
Just dump it into your ~/bin directory, open it in the editor of your choice to change the username/password, make it executable (chmod a+x) and add a launcher icon to the panel/menu/desktop of your preferred window manager.
Screenshot

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

