Hello Community;
Everything was working absolutely fine with the script until some of the users reported this issue while authorization:
Fatal error: Uncaught exception
'Abraham\TwitterOAuth\TwitterOAuthException' with message 'Invalid
request token' in \twitteroauth\src\TwitterOAuth.php:141 Stack trace: #0
\twitter_callback.php(41):
Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/access_to...', Array)
#1 {main} thrown in \twitteroauth\src\TwitterOAuth.php on line 141
In twitter_callback.php line 41:
$access_token = $connection->oauth("oauth/access_token", array("oauth_verifier" => $_REQUEST['oauth_verifier']));
I noticed that the main library have been updated: https://github.com/abraham/twitteroauth , so I downloaded them and applied them to the website and still the same issue, only “TwitterOAuth.php on line 141” changed it was “TwitterOAuth.php on line 221”.
The issue happened to all my working websites at the same time, and no application configuration edits were made.
Thanks for your time.