Answer the question
In order to leave comments, you need to log in
TwitterOAuth tweet post?
I use the TwitterOAuth API library.
I try as in the documentation:
$consumerkey = "xxx";
$consumersecret = "xxx";
$accesstoken = "xxx";
$accesstokensecret = "xxx";
try {
$connection = new \TwitterOAuth($consumerkey, $consumersecret, $accesstoken, $accesstokensecret);
$connection->post('statuses/update', ['status' => 'Test message']);
} catch (\Exception $e) {}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question