Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook API Version #37

Closed
RicLeP opened this issue Oct 14, 2019 · 1 comment
Closed

Facebook API Version #37

RicLeP opened this issue Oct 14, 2019 · 1 comment

Comments

@RicLeP
Copy link
Contributor

RicLeP commented Oct 14, 2019

Hi,

It looks like the Facebook PHP Graph SDK used by this package defaults to the Facebook Graph API version 2.10 which is being deprecated in under a month. Does this package user a later version? I couldn’t see where it was set, but Facebook’s package should allow setting it.

Thanks.

@dwightwatson
Copy link
Collaborator

Looks like it's actually the Facebook PHP SDK that defaults to 2.1.0: https://github.com/facebook/php-graph-sdk/blob/5.x/src/Facebook/Facebook.php#L61 and there is also some discussion about it: facebookarchive/php-graph-sdk#1157

We could expose an option to allow customising this I'd like to avoid that - Facebook should fix this up under the hood. If you really wanted to get around this you could override the service provider to customise the API version used.

Let's keep an eye and see if Facebook make any movement on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants