[英]Fatal error: Class 'Abraham\TwitterOAuth\TwitterOAuth' not found in.. in the sub folder
[英]Fatal error: Class 'Abraham\TwitterOAuth\Config' not found in twitteroauth.php on line 15
我正在使用twitterauth.php在codeigniter php中获取twitter数据。 它给我错误
Fatal error: Class 'Abraham\TwitterOAuth\Config' not found in C:\xampp\htdocs\twitter\application\config\twitteroauth.php on line 15
第15行是
13 namespace Abraham\TwitterOAuth;
14 use Abraham\TwitterOAuth\Util\JsonDecoder;
15 class TwitterOAuth extends Config
您在我们的Codeigniter项目中缺少图书馆的
您可以下载正确的文件,并将其添加到相关路径中,如前所述。
文件路径./application/
Folder - config
file name - twitter.php
Folder - controllers
file name - twtest.php
Folder - libraries
file name - twconnect.php
folder name - twitteroauth
File name - OAuth.php
File name - twitteroauth.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.