Closed jbrevel closed 5 years ago
Solved the issue by:
Downloaded the latest version and extracted it into the third_party directory and named it twitteroauth.
I added this code before the class declaration of the file I was using the library:
use Abraham\TwitterOAuth\TwitterOAuth;
Inside my method I added:
require "twitteroauth/autoload.php";
Works well for codeigniter 3.x
Hi, I am currently building out a project in Codeigniter 3.x framework with PHP version 7.1. This framework does not support namespaces. Is there any alternative to this for this library as I cannot get it working within this framework?