mobolic / facebook-sdk

Python SDK for Facebook's Graph API
https://facebook-sdk.readthedocs.io/
Apache License 2.0
2.74k stars 950 forks source link

Update supported versions #498

Closed mssalnikov closed 2 years ago

mssalnikov commented 3 years ago

Facebook just sent out a letter that they stop supporting APIs lower than 8.2. The current version is 12.0. I only use /me request to get user data, and can't use this library at all now

Version of the SDK being used

9.0

Expected Behavior

I can call a request to /me

Actual Behavior

The highest supported version is 8.0

Steps to Reproduce

Use any of the API versions above 8.0

hingston commented 2 years ago

What needs to be done to update this to version 9.0?

@mobolic @martey Do you plan on continuing support?

mssalnikov commented 2 years ago

I only use login in my app, so I just forked and changed the list of supported versions https://github.com/mssalnikov/facebook-sdk May be helpful

hingston commented 2 years ago

That is helpful but going forward I will need a more permanent solution after 9.0. Do you or anyone else reading this know of other python solutions to this beyond 8.0?

martey commented 2 years ago

The Graph API version should be transparently upgraded (https://developers.facebook.com/docs/graph-api/guides/versioning#howlong):

For APIs, once a version is no longer usable, any calls made to it will be defaulted to the next oldest, usable version.