I need to update Facebook graph API to use the latest one i.e. v2.7. In previous implementation I don’t see any version number implemented in code. Could you please help me how do we implement latest version for facebook graph API.
Thank You
Harish Singh
2
Answers
API Upgrade Tool
: https://developers.facebook.com/tools/api_versioning/
…or just add the version tag in your API calls/paths, which is explained in the changelog: https://developers.facebook.com/docs/apps/changelog
Example:
For facebook version update, here is the latest guide I found (to facebook lib version 2.8): https://developers.facebook.com/docs/apps/changelog
You need go to the facebook “API updated tool” (an online page), and upgrade the API version you facebook app use. Facebook will track whether you call need be updated using the newest API
May be you also need to update the sdk for your script: (for example for the python in ubuntu)
The above cmd may not work because the pip repository not have a new version yet, then you need to download the source code of the new API in the git page, unzip the code, in the folder where you unzip the code, run the install cmd yourself :
see latest facebook python API guide page https://github.com/facebook/facebook-python-ads-sdk
Zhihong