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

(This post was last modified: 08-14-2020, 02:52 PM by jreklund.)

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.
Reply


Messages In This Thread
RE: j7mbo/twitter-api-php via composer and CI4 - by jreklund - 08-14-2020, 02:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB