Error::
Error making OAuth fetch request in CPSTwitterApi: {Invalid auth/bad
request (got a 400, expected HTTP/1.1 20X or a redirect)}
Addition Question :: CPSApiComponent.php
This file has the following ($_sResults = $this->makeHttpRequest( $_sUrl, $_sQuery, 'GET', $this->userAgent )
Should this be POST instead of GET? From the comments in the CPSTwitterApi.php the updateStatus function says " Request must be a POST."
-------------------------------------------
My code:
Yii::app()->twitter->loadData($arTwitterUser[1], $arTwitterUser[0], true, array('oauth_token' => $arTwitterOAuth[0],'oauth_token_secret' => $arTwitterOAuth[1]));
echo Yii::trace(CVarDumper::dumpAsString(Yii::app()->twitter->checkLoadData()),'vardump');
$_arResults = Yii::app()->twitter->verifyCredentials(); // Works
echo Yii::trace(CVarDumper::dumpAsString($_arResults),'vardump');
$_arResults = Yii::app()->twitter->updateStatus('This is a test of Twitter API');
echo Yii::trace(CVarDumper::dumpAsString($_arResults),'vardump'); // Doesnt

Help












