Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/08/2013, 14:02
arlin
 
Fecha de Ingreso: abril-2001
Ubicación: Puerto Montt
Mensajes: 89
Antigüedad: 23 años
Puntos: 1
enviar twitt desde php

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));