This repository was archived by the owner on Jan 13, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ There are two methods to install the Facebook SDK for PHP. The recommended insta
2222[ Composer] ( https://getcomposer.org/ ) is the recommended way to install the Facebook SDK for PHP. Simply run the following in the root of your project.
2323
2424```
25- composer require facebook/php -sdk-v4
25+ composer require facebook/graph -sdk
2626```
2727
2828> The Facebook SDK starting adhering to [ SemVer] ( http://semver.org/ ) with version 5. Previous to version 5, the SDK did not follow SemVer.
@@ -40,12 +40,12 @@ require_once __DIR__ . '/vendor/autoload.php';
4040
4141First, download the source code and unzip it wherever you like in your project.
4242
43- [ Download the SDK for PHP v5.0] ( https://github.com/facebook/facebook- php-sdk-v4 /archive/5.0-dev .zip )
43+ [ Download the SDK for PHP v5.0] ( https://github.com/facebook/php-graph-sdk /archive/5.4 .zip )
4444
4545Then include the autoloader provided in the SDK at the top of your script.
4646
4747``` php
48- require_once __DIR__ . '/path/to/facebook- php-sdk-v4 /src/Facebook/autoload.php';
48+ require_once __DIR__ . '/path/to/php-graph-sdk /src/Facebook/autoload.php';
4949```
5050
5151The autoloader should be able to auto-detect the proper location of the source code.
You can’t perform that action at this time.
0 commit comments