Php not posting to twitter anymore


#1

This bit of code used to work

    $twitterObj = new EpiTwitter($consumer_key, $consumer_secret, $oauth_token, $oauth_token_secret);		
$twitter_message = utf8_encode($twitter_message);		
$x = $twitterObj->post_statusesUpdate(array('status' => $twitter_message));	

if ($x->id) {
	
} else {
	if ($x->response[error] <> "Status is a duplicate.") {
		echo "Error Posting Tweet - " . $x->response[error];					
		die();
	}	
}	

But doesn’t anymore. You get "Error Posting Tweet - "

$x->response[error] isn’t set to anything nor is $x

There is a message set up so I presuem it must be soemthing to to with

$twitterObj->post_statusesUpdate

Nothing has changed at at end codewise so I was wondering if twitter has changed anything? I am stumped otherwise

Thanks


#2

Did anyone solved it? I am also having problem with post_statusesUpdate.