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/Facebook.fbmd
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ To instantiate a new `Facebook\Facebook` service, pass an array of configuration
13
13
$fb = new Facebook\Facebook([
14
14
'app_id' => '{app-id}',
15
15
'app_secret' => '{app-secret}',
16
-
'default_graph_version' => 'v2.5',
16
+
'default_graph_version' => 'v2.6',
17
17
// . . .
18
18
]);
19
19
~~~~
@@ -53,7 +53,7 @@ $fb = new Facebook\Facebook([
53
53
'app_secret' => '{app-secret}',
54
54
'default_access_token' => '{access-token}',
55
55
'enable_beta_mode' => true,
56
-
'default_graph_version' => 'v2.5',
56
+
'default_graph_version' => 'v2.6',
57
57
'http_client_handler' => 'guzzle',
58
58
'persistent_data_handler' => 'memory',
59
59
'url_detection_handler' => new MyUrlDetectionHandler(),
@@ -74,7 +74,7 @@ The default fallback access token to use if one is not explicitly provided. The
74
74
Enable [beta mode](/docs/support/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`.
75
75
76
76
### `default_graph_version` {#defaultversion}
77
-
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.5`. Defaults to the [latest version of Graph](/docs/apps/changelog).
77
+
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.6`. Defaults to the [latest version of Graph](/docs/apps/changelog).
78
78
79
79
### `http_client_handler` {#httpclient}
80
80
Allows you to overwrite the default HTTP client.
@@ -326,7 +326,7 @@ public Facebook\FacebookResponse sendRequest(
0 commit comments