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
22
22
[ 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.
23
23
24
24
```
25
- composer require facebook/php -sdk-v4
25
+ composer require facebook/graph -sdk
26
26
```
27
27
28
28
> 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';
40
40
41
41
First, download the source code and unzip it wherever you like in your project.
42
42
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 )
44
44
45
45
Then include the autoloader provided in the SDK at the top of your script.
46
46
47
47
``` 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';
49
49
```
50
50
51
51
The 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