DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Twitter From The Command Line

10.24.2008
| 4668 views |
  • submit to reddit
        // Snagged from d.onkey.org

   1. Install curl. RTFM.
   2. Use my script : ip-204-15-110-41:~ Asim$ cat twitter.sh
      #/bin/sh
      curl -u username:password -d status=”$*” http://twitter.com/statuses/update.xml
   3. ./twitter.sh “Coming from the shell! yay!”