Create With Composer:

Add the "facebook/php-sdk": "@stable" into the require section of your composer.json.
Run composer install.
The example will look like