Php-graph-sdk: Support for Graph API 2.11, 2.12 and 3.x versions

Created on 15 Jul 2019  路  3Comments  路  Source: facebookarchive/php-graph-sdk

Hi, all.

The latest SDK version is 5.7, which supports the Graph API 2.10. The version 2.10 of Graph API will be deprecated on November 7, 2019.

Is there a plan to support 2.11 or 2.12? If yes, is there an expected timeline?
And what about 3.x? Can we expect the SDK to support this API version?

Thanks!

Most helpful comment

we need 4.x support

All 3 comments

we need 4.x support

Hello
Any updates regarding this issue?
The (messy) alternative option is to manually change the DEFAULT_GRAPH_VERSION in Facebook\Facebook.php file I believe.

Thanks

@dencorg You don't have to manually change it to have global effect.
Since it's just a default and it can be overriden by a constructor parameter:

$facebook = new Facebook([
    'app_id' => '***',
    'app_secret' => '***',
    'default_graph_version' => 'v2.12'
]);

And you're right - editing files in vendor folder is messy :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohsenshakibafar picture mohsenshakibafar  路  4Comments

severin-bruhat picture severin-bruhat  路  3Comments

flyingcoder picture flyingcoder  路  8Comments

klausbreyer picture klausbreyer  路  10Comments

izuk-langmedia picture izuk-langmedia  路  6Comments