Depois de procurar um script em php que realmente Twittase achei esse:
<?php function tweet($mensagem, $usuario, $senha) { $contexto = stream_context_create(array( ‘http’ => array(<br /> ‘method’ => ‘POST’,<br /> ‘header’ => sprintf(“Authorization: Basic %s\r\n”, base64_encode($usuario.’:’.$senha)).<br /> “Content-type: application/x-www-form-urlencoded\r\n”,<br /> ‘content’ => http_build_query(array(‘status’ => $mensagem)),<br /> ‘timeout’ => 10<br /> ),<br /> ));<br /> $ret = file_get_contents(‘http://twitter.com/statuses/update.xml’, false, $contexto);<br /> return (false !== $ret);<br /> }<br /> ?><br /> <?php $usuario = ‘user’; $senha = ‘senha’; // Cria o tweet tweet(‘Twittando por php! ’, $usuario, $senha); ?> fonte http://thiagobelem.net