Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # Configuration Variables
- TWIT_USER="Your_Twitter_Account"
- TWIT_SECRET="SuperTweet_Password"
- # Other Variables
- TWIT_URL="http://api.supertweet.net/1.1/statuses/update.json"
- TWEET=$(echo "$*"|cut -c -140)
- curl -u $TWIT_USER:$TWIT_SECRET -d "status=$TWEET" $TWIT_URL -s > /dev/null
- # Save The File as tweet in /usr/bin
- # Chmod 755
- # In Terminal at the command prompt type - tweet "Your Message"
- # Check Twitter and your message will be there
Advertisement
Add Comment
Please, Sign In to add comment