Problem with Auto-Tweeting with CodeBird PHP



Followed this procedure to use codebird-php in application to tweet from a php code hosted on web server hosted by GoDaddy. I get the following error:

‘Request error for API call: error setting certificate verify locations: CAfile: [path to]/cacert.pem CApath: none’

Here is the code:

require_once (’[path to]/codebird.php’);
\Codebird\Codebird::setConsumerKey($consumerkey, $consumersecret);
$cb = \Codebird\Codebird::getInstance();
$cb->setToken($accesstoken, $accesstokensecret);
$reply = $cb->statuses_update(‘status=My Tweet’);

My Twitter app is setup for Red & Write and [path to]/cacert.pem has read and write permission for all.

Any ideas?


Looks like a PHP/curl setup error related to your CA cert file, not a Twitter API issue.