Getting started with the Facebook PHP SDK v4.1. Part b: Setting up the application.
<?php | |
// setup application using API keys and handlers | |
$fb = new Facebook\Facebook([ | |
'app_id' => 'xxx', | |
'app_secret' => 'yyy', | |
'http_client_handler' => 'curl', // can be changed to stream or guzzle | |
'persistent_data_handler' => 'session' // make sure session has started | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment