Sometimes,,you just need to waste your time just to sending status update to your twitter.
Here’s my suggestion to make your wasting time more wasted ,, by sending twitter status update via curl in bash scripting environment.
vi some-file.sh, and write this bunch of code :
#!/bin/bash
/usr/local/bin/curl --basic --proxy 10.2.249.250:8080 --user $1:$2 --data status="$3" twitter.com/statuses/update.xml
Then save the file using (:wq!)
give chmod +x some-file.sh to your script
Here you can call your script using :
./some-file.sh username passwd "your status"
I recommend to use (“) in your status,,,so that the script can detect that everything in between ” is your status..
have fun !
[Via http://antonrifco.wordpress.com]
No comments:
Post a Comment