Symfony2 + Facebook-SDK 4.0 - How to integrate? Symfony2 + Facebook-SDK 4.0 - How to integrate? symfony symfony

Symfony2 + Facebook-SDK 4.0 - How to integrate?


Install the SDK via Composer. Therefore add the following line to the require section of your composer.json and execute composer update afterwards.

"facebook/php-sdk-v4" : "4.0.*"

Facebook SDK will be autoloaded via composer then.