Welcome Guest, Not a member yet? Register   Sign In
j7mbo/twitter-api-php via composer and CI4
#3

(08-14-2020, 02:51 PM)jreklund Wrote: Put a forward slash in front of it.

From:
Code:
$tweet = new TwitterAPIExchange($twsettings);

Into:
Code:
$tweet = new \TwitterAPIExchange($twsettings);

You don't need to put in the classmap, composer will find it for you.

Thank you it works now! Thank you very much!
Reply


Messages In This Thread
RE: j7mbo/twitter-api-php via composer and CI4 - by jolupa - 08-15-2020, 10:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB