Facebook Application Instance Creation in PHP
The PHP code below is used to create the facebook application instance. Replace the appId and secret in the below code for your application instancePHP Code to Create Facebook Application Instance
require 'src/facebook.php';
// Create Facebook Application instance
$facebook = new Facebook(array(
'appId' => '223428162333489',
'secret' => '94c92sdefge5f4050f21ebe0890f41a',
'cookie' => true,
));