Error code 170:Missing required parameter: status


#1

$connection = new TwitterOAuth($CONSUMER_KEY, $CONSUMER_SECRET, $OAUTH_TOKEN, $OAUTH_SECRET);
$connection->host = “https://api.twitter.com/1.1/”;
$connection->ssl_verifypeer = TRUE;
$connection->useragent = ‘Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36’;
$statuses = $connection->post(‘statuses/update’, array(‘status’=>‘test message’));


<code>Array ( [0] => stdClass Object ( [code] => 170 [message] => Missing required parameter: status. ) )</code>

why did it originate?