• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
j7mbo/twitter-api-php via composer and CI4

#2
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.