Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 8d04d00

Browse files
committed
Merge pull request #289 from adamgross42/4.0-dev
Autoloader documentation for non-Composer
2 parents 02bbc63 + 65c24b9 commit 8d04d00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Minimal example:
1818
```php
1919
<?php
2020

21+
// Skip these two lines if you're using Composer
22+
define('FACEBOOK_SDK_V4_SRC_DIR', '/path/to/facebook-php-sdk-v4/src/Facebook/');
23+
require __DIR__ . '/path/to/facebook-php-sdk-v4/autoload.php';
24+
2125
use Facebook\FacebookSession;
2226
use Facebook\FacebookRequest;
2327
use Facebook\GraphUser;

0 commit comments

Comments
 (0)