CodeIgniter Forums

Full Version: Code Igniter 3 and Facebook API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am completely new to the Facebook API. I am trying to include FacebookSession class in to the Code Igniter 3 controller as told here:

I included the file "FacebookSession.php" outside the class definition and trying to call FacebookSession:ConfusedetDefaultApplication('YOUR_APP_ID', 'YOUR_APP_SECRET'); inside the construct function. But i get:
"FacebookSession' not found in line..." error.

How can i make FB work with Code Igniter 3?
Their GitHub page ( ) has a "Minimal example" for using the SDK without Composer.