I'm creating an app that uses the facebook php sdk, and it requires some config:
require_once("facebook.php");
$config = array(
'appId' => 'YOUR_APP_ID',
'secret' => 'YOUR_APP_SECRET',
'fileUpload' => false, // optional
'allowSignedRequest' => false, // optional, but should be set to false for non-canvas apps
);
$facebook = new Facebook($config);
Where do I put this so that I can use $facebook
in my models and controllers?