Posted By

erikportin on 05/26/11


Tagged

php facebook


Versions (?)

Create application instance | PHP | Facebook


 / Published in: PHP
 

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

  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  

You need to login to post a comment.