Create application instance | PHP | Facebook


/ Published in: PHP
Save to your folder(s)

facebook php-sdk from https://github.com/facebook/php-sdk/


Copy this code and paste it in your HTML
  1. require 'src/facebook.php';
  2.  
  3. // Create our Application instance (replace this with your appId and secret).
  4. $facebook = new Facebook(array(
  5. 'appId' => '210318162333489',
  6. 'secret' => '94c921ccfdae5f4050f21ebe0890f41a',
  7. 'cookie' => true,
  8. ));

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.