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
Copy file name to clipboardexpand all lines: docs/getting_started.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ Before we can send requests to the Graph API, we need to load our app configurat
86
86
$fb = new Facebook\Facebook([
87
87
'app_id' => '{app-id}',
88
88
'app_secret' => '{app-secret}',
89
-
'default_graph_version' => 'v2.9',
89
+
'default_graph_version' => 'v2.10',
90
90
]);
91
91
```
92
92
@@ -206,7 +206,7 @@ if (isset($accessToken)) {
206
206
}
207
207
```
208
208
209
-
> **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.
209
+
> **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.10). 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
+4-4
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.9',
13
+
'default_graph_version' => 'v2.10',
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.9',
51
+
'default_graph_version' => 'v2.10',
52
52
'http_client_handler' => 'guzzle',
53
53
'persistent_data_handler' => 'memory',
54
54
'url_detection_handler' => new MyUrlDetectionHandler(),
@@ -69,7 +69,7 @@ The default fallback access token to use if one is not explicitly provided. The
69
69
Enable [beta mode](https://developers.facebook.com/docs/apps/beta-tier) so that request are made to the [https://graph.beta.facebook.com](https://graph.beta.facebook.com/) endpoint. Set to boolean `true` to enable or `false` to disable. Defaults to `false`.
70
70
71
71
### `default_graph_version`
72
-
Allows you to overwrite the default Graph version number set in `Facebook\Facebook::DEFAULT_GRAPH_VERSION`. Set this as a string as it would appear in the Graph url, e.g. `v2.9`. Defaults to the [latest version of Graph](https://developers.facebook.com/docs/apps/changelog).
72
+
Allows you to overwrite the default Graph version number set in `Facebook\Facebook::DEFAULT_GRAPH_VERSION`. Set this as a string as it would appear in the Graph url, e.g. `v2.10`. Defaults to the [latest version of Graph](https://developers.facebook.com/docs/apps/changelog).
73
73
74
74
### `http_client_handler`
75
75
Allows you to overwrite the default HTTP client.
@@ -317,7 +317,7 @@ public Facebook\FacebookResponse sendRequest(
0 commit comments