tenia este codigo que me funcionaba perfectamente, de la noche a la mañana dejo de funcionar, alguien sabe que debo actualizar para que funcione nuevamente, he estado buscando por internet, pero no he dado con la solucion:
$consumerKey = 'xxxx';
$consumerSecret = 'xxx';
$oAuthToken = 'xxxx';
$oAuthSecret = 'xxxx';
# API OAuth
require_once('twitteroauth.php');
$Tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret);
$mensaje = $_POST['mensaje'];
$Tweet->post('statuses/update', array('status' => $mensaje));