CodeIgniter Facebook SDK 4 with Composer
问题 I'm trying to install and run the Facebook SDK on CodeIgniter using Composer. CodeIgniter is installed and working nicely. Composer support was added by doing the following: curl -s http://getcomposer.org/installer | php touch composer.json Added the require lines to the composer.json file ( "facebook/php-sdk-v4" : "4.0.*" ) Ran composer update All went to plan. Composer created a /vendor folder, and the Facebook SDK is there. I then added Composer support to CodeIgniter by adding the line