|
|
Linux - Update twitter with curl, Add tweer from command line
| Update twitter with curl |
|
|
Update twitter using curl
This function will update your tweet from command line
tweet(){ [ ${#1} -lt 141 ] &&
curl -su user:pass -d source=curl -d status="$1" http://twitter.com/statuses/update.xml >/dev/null || echo $(( ${#1} - 140 )) too many characters >&2; }
This one is long, but includes error checking and will let you specify the source of the tweet.
|
| Linux - Add tweer from command line |
| The topic on Linux - Update twitter with curl is posted by - Malu |
Hope you have enjoyed, Linux - Update twitter with curl . Thanks for your time.
|
|