You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/getting_started.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Before we can send requests to the Graph API, we need to load our app configurat
36
36
$fb = new Facebook\Facebook([
37
37
'app_id' => '{app-id}',
38
38
'app_secret' => '{app-secret}',
39
-
'default_graph_version' => 'v2.8',
39
+
'default_graph_version' => 'v2.9',
40
40
]);
41
41
```
42
42
@@ -156,7 +156,7 @@ if (isset($accessToken)) {
156
156
}
157
157
```
158
158
159
-
> **Warning:** Make sure you set the `{cookie:true}` option when you [initialize the SDK for JavaScript](https://developers.facebook.com/docs/javascript/reference/FB.init/v2.8). This will make the SDK for JavaScript set a cookie on your domain containing information about the user in the form of a signed request.
159
+
> **Warning:** Make sure you set the `{cookie:true}` option when you [initialize the SDK for JavaScript](https://developers.facebook.com/docs/javascript/reference/FB.init/v2.9). This will make the SDK for JavaScript set a cookie on your domain containing information about the user in the form of a signed request.
Copy file name to clipboardExpand all lines: docs/reference/Facebook.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ To instantiate a new `Facebook\Facebook` service, pass an array of configuration
10
10
$fb = new Facebook\Facebook([
11
11
'app_id' => '{app-id}',
12
12
'app_secret' => '{app-secret}',
13
-
'default_graph_version' => 'v2.8',
13
+
'default_graph_version' => 'v2.9',
14
14
// . . .
15
15
]);
16
16
```
@@ -48,7 +48,7 @@ $fb = new Facebook\Facebook([
48
48
'app_secret' => '{app-secret}',
49
49
'default_access_token' => '{access-token}',
50
50
'enable_beta_mode' => true,
51
-
'default_graph_version' => 'v2.8',
51
+
'default_graph_version' => 'v2.9',
52
52
'http_client_handler' => 'guzzle',
53
53
'persistent_data_handler' => 'memory',
54
54
'url_detection_handler' => new MyUrlDetectionHandler(),
@@ -62,7 +62,7 @@ $fb = new Facebook\Facebook([
62
62
**(Required)** The secret of your Facebook app. If not set, defaults to [the environment variables fallback](#environment-variables-fallback) if available.
63
63
64
64
### `default_graph_version`
65
-
**(Required)** Allows you to set the default Graph version number. Set this as a string as it would appear in the Graph url, e.g. `v2.8`. See the [latest version of Graph](https://developers.facebook.com/docs/apps/changelog) for more info on Graph versions.
65
+
**(Required)** Allows you to set the default Graph version number. Set this as a string as it would appear in the Graph url, e.g. `v2.9`. See the [latest version of Graph](https://developers.facebook.com/docs/apps/changelog) for more info on Graph versions.
66
66
67
67
### `default_access_token`
68
68
The default fallback access token to use if one is not explicitly provided. The value can be of type `string` or `Facebook\AccessToken`. If any other value is provided an `InvalidArgumentException` will be thrown. Defaults to `null`.
@@ -123,7 +123,7 @@ To take advantage of this feature, simply set an environment variable named `FAC
123
123
124
124
```php
125
125
$fb = new Facebook\Facebook([
126
-
'default_graph_version' => 'v2.8',
126
+
'default_graph_version' => 'v2.9',
127
127
]);
128
128
```
129
129
@@ -295,7 +295,7 @@ public Facebook\FacebookResponse sendRequest(
0 commit comments