Skip to content

Commit

Permalink
Update README to reference Graph API v2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyK committed Oct 12, 2016
1 parent 1aa9547 commit 50c4166
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $provider = new \League\OAuth2\Client\Provider\Facebook([
'clientId' => '{facebook-app-id}',
'clientSecret' => '{facebook-app-secret}',
'redirectUri' => 'https://example.com/callback-url',
'graphApiVersion' => 'v2.7',
'graphApiVersion' => 'v2.8',
]);

if (!isset($_GET['code'])) {
Expand Down Expand Up @@ -193,7 +193,7 @@ The `graphApiVersion` option is required. If it is not set, an `\InvalidArgument
```php
$provider = new League\OAuth2\Client\Provider\Facebook([
/* . . . */
'graphApiVersion' => 'v2.7',
'graphApiVersion' => 'v2.8',
]);
```

Expand Down Expand Up @@ -252,7 +252,7 @@ Once you've obtained a user access token you can make additional requests to the
```php
// Get 5 events from authenticated user
// Requires the `user_events` permission
$baseUrl = 'https://graph.facebook.com/v2.7';
$baseUrl = 'https://graph.facebook.com/v2.8';
$params = http_build_query([
'fields' => 'id,name,start_time',
'limit' => '5',
Expand Down

0 comments on commit 50c4166

Please sign in to comment.