File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 8.x (UNOFFICIAL)
4
4
5
- - 8.0.0-rc.1
5
+ - 8.0.0-rc.2
6
6
- Requires PHP 8.1.
7
7
- Defaults to Facebook Graph v20.0, instead of v2.10 which is no longer accessible.
8
8
- Added a few more objects/types. Please open a PR if you want to add more types.
Original file line number Diff line number Diff line change 54
54
// If you provided a 'default_access_token', the '{access-token}' is optional.
55
55
$response = $fb->get('/me', '{access-token}');
56
56
57
- // To decode the response to a PHP class, provide the class of the root node in the response. You will have to match
58
- // this manually based on the endpoint you requested. Please do open a pull request if you want to add more types.
57
+ // To decode the response to a PHP class, provide the class of the root node in the
58
+ // response. You will have to match this manually based on the endpoint you
59
+ // requested. Please do open a pull request if you want to add more types.
59
60
60
61
/** @var GraphUser $me */
61
62
$me = $response->getGraphNode(GraphUser::class);
77
78
78
79
## Tests
79
80
80
- 1 . [ Composer] ( https://getcomposer.org/ ) is a prerequisite for running the tests. Install composer globally, then
81
- run ` composer install ` to install required files.
81
+ 1 . [ Composer] ( https://getcomposer.org/ ) is a prerequisite for running the tests.
82
+ Install composer globally, then run ` composer install ` to install required files.
82
83
2 . The tests can be executed by running this command from the root directory:
83
84
84
85
``` bash
@@ -87,4 +88,5 @@ $ ./vendor/bin/phpunit
87
88
88
89
## License
89
90
90
- Please see the [ license file] ( https://github.com/facebook/php-graph-sdk/blob/master/LICENSE ) for more information.
91
+ Please see the [ license file] ( https://github.com/facebook/php-graph-sdk/blob/master/LICENSE )
92
+ for more information.
You can’t perform that action at this time.
0 commit comments