Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 7cc23a4

Browse files
committed
Bump Graph API version to v2.9
1 parent 63f2158 commit 7cc23a4

15 files changed

+23
-23
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Simple GET example of a user's profile.
2929
$fb = new \Facebook\Facebook([
3030
'app_id' => '{app-id}',
3131
'app_secret' => '{app-secret}',
32-
'default_graph_version' => 'v2.8',
32+
'default_graph_version' => 'v2.9',
3333
//'default_access_token' => '{access-token}', // optional
3434
]);
3535

docs/examples/access_token_from_canvas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A signed request will be sent to your app via the HTTP POST method within the co
1010
$fb = new Facebook\Facebook([
1111
'app_id' => '{app-id}',
1212
'app_secret' => '{app-secret}',
13-
'default_graph_version' => 'v2.8',
13+
'default_graph_version' => 'v2.9',
1414
]);
1515

1616
$helper = $fb->getCanvasHelper();

docs/examples/access_token_from_javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In order to have the JavaScript SDK set a cookie containing a signed request (wh
2929
FB.init({
3030
appId: 'your-app-id',
3131
cookie: true, // This is important, it's not enabled by default
32-
version: 'v2.8'
32+
version: 'v2.9'
3333
});
3434
};
3535
@@ -52,7 +52,7 @@ After the user successfully logs in, redirect the user (or make an AJAX request)
5252
$fb = new Facebook\Facebook([
5353
'app_id' => '{app-id}',
5454
'app_secret' => '{app-secret}',
55-
'default_graph_version' => 'v2.8',
55+
'default_graph_version' => 'v2.9',
5656
]);
5757

5858
$helper = $fb->getJavaScriptHelper();

docs/examples/access_token_from_page_tab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Page tabs behave much like the app canvas. The PHP SDK provides a helper for pag
1010
$fb = new Facebook\Facebook([
1111
'app_id' => '{app-id}',
1212
'app_secret' => '{app-secret}',
13-
'default_graph_version' => 'v2.8',
13+
'default_graph_version' => 'v2.9',
1414
]);
1515

1616
$helper = $fb->getPageTabHelper();

docs/examples/batch_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following example assumes we have the following permissions granted from the
1010
$fb = new Facebook\Facebook([
1111
'app_id' => '{app-id}',
1212
'app_secret' => '{app-secret}',
13-
'default_graph_version' => 'v2.8',
13+
'default_graph_version' => 'v2.9',
1414
]);
1515

1616
// Since all the requests will be sent on behalf of the same user,
@@ -106,7 +106,7 @@ Since the requests sent in a batch are unrelated by default, we can make request
106106
$fb = new Facebook\Facebook([
107107
'app_id' => '{app-id}',
108108
'app_secret' => '{app-secret}',
109-
'default_graph_version' => 'v2.8',
109+
'default_graph_version' => 'v2.9',
110110
]);
111111

112112
$batch = [

docs/examples/batch_upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following example will upload two photos and one video.
1212
$fb = new Facebook\Facebook([
1313
'app_id' => '{app-id}',
1414
'app_secret' => '{app-secret}',
15-
'default_graph_version' => 'v2.8',
15+
'default_graph_version' => 'v2.9',
1616
]);
1717

1818
// Since all the requests will be sent on behalf of the same user,

docs/examples/facebook_login.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In this example, the PHP script that generates the login link is called `/login.
1414
$fb = new Facebook\Facebook([
1515
'app_id' => '{app-id}',
1616
'app_secret' => '{app-secret}',
17-
'default_graph_version' => 'v2.8',
17+
'default_graph_version' => 'v2.9',
1818
]);
1919

2020
$helper = $fb->getRedirectLoginHelper();
@@ -31,7 +31,7 @@ echo '<a href="' . $loginUrl . '">Log in with Facebook!</a>';
3131
$fb = new Facebook\Facebook([
3232
'app_id' => '{app-id}',
3333
'app_secret' => '{app-secret}',
34-
'default_graph_version' => 'v2.8',
34+
'default_graph_version' => 'v2.9',
3535
]);
3636

3737
$helper = $fb->getRedirectLoginHelper();

docs/examples/pagination_basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this example we'll pull five entries from a user's feed (assuming the user ap
1212
$fb = new Facebook\Facebook([
1313
'app_id' => '{app-id}',
1414
'app_secret' => '{app-secret}',
15-
'default_graph_version' => 'v2.8',
15+
'default_graph_version' => 'v2.9',
1616
]);
1717

1818
try {

docs/examples/post_links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For more information, see the documentation for [`Facebook\Facebook`](../referen
1212
$fb = new Facebook\Facebook([
1313
'app_id' => '{app-id}',
1414
'app_secret' => '{app-secret}',
15-
'default_graph_version' => 'v2.8',
15+
'default_graph_version' => 'v2.9',
1616
]);
1717

1818
$linkData = [

docs/examples/retrieve_user_profile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For more information, see the documentation for [`Facebook\Facebook`](../referen
1212
$fb = new Facebook\Facebook([
1313
'app_id' => '{app-id}',
1414
'app_secret' => '{app-secret}',
15-
'default_graph_version' => 'v2.8',
15+
'default_graph_version' => 'v2.9',
1616
]);
1717

1818
try {

0 commit comments

Comments
 (0)