I have tried two PHP libraries that both result in:
89 [message] => Invalid or expired token
I setup the access tokens in the app and try to verify the credentials with twitteroauth:
<?php
$consumerKey = "xxxxx";
$consumerSecret = "xxxxxxx";
$accessToken = "xxxxxxx";
$accessTokenSecret = "xxxxxxx";
require "vendor/autoload.php";
use Abraham\TwitterOAuth\TwitterOAuth;
$connection = new TwitterOAuth($consumerKey, $consumerSecret, $accessToken , $accessTokenSecret);
$content = $connection->get("account/verify_credentials");
print_r($content);
?>
It should be connecting.
Is there a delay after an app is created for it to work?
I have the app permissions set to read/write/dm
Any ideas?
Thanks in advance.