Usando o twitter via bash

salve o script abaixo como /usr/local/bin/twi

#!/bin/bash
# bash twitter v02 by @crimeboy
# requires curl
###########################

######## CONFIG
USER=SEULOGIN
PASS=SUASENHA
URL="http://twitter.com/statuses/update.xml"
###############
curl -u $USER:$PASS -d status="$*" -s -o /dev/null ${URL}

de um chmod +x nele
e pronto! basta digitar:
twi MAMAE ESTOU NO TWITTER VIA BASH!

ps.: requer o curl instalado

1 Resposta para “Usando o twitter via bash”



Deixe uma resposta