Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update/upgrade the Facebook API version?

How do I upgrade/update my Graph API ver from 2.1 to 2.5?

  • The latest Graph API version of Facebook is v2.5.
  • App A uses Graph API v2.1. This app has some login error which does not allow my app to login with the FB credentials.
  • Another app uses v2.4, and this allows the login without issue.

So, I was thinking of updating/upgrading my App A's graphAPI to v2.4 or 2.5. However, their official doc does not specifically state how to upgrade it but rather just the call method.

Software

  • Unity ver: 4.6.9 f1
  • Facebook Unity SDK 6.2.2
  • iOS SDK 3.2.0
like image 838
sinmantky Avatar asked Dec 15 '15 10:12

sinmantky


People also ask

How do I update API version?

Go to your Developer Hub and choose the relevant app. Then go to the Api Version menu, click on the Change version box and select your new version. Once you have selected the appropriate version for your app all subsequent API requests will use this version.

Where can I find Facebook API version?

The API version is listed with the release of each version of the Facebook SDK for Android. Much like the JavaScript SDK, the version is prepended to any calls you make to the graph API through the Facebook SDK for Android.

Is Facebook Graph API deprecated?

API Version Deprecations: As part of Facebook's Graph API and Marketing API, please note the upcoming deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. August 25, 2021 Marketing API v9.


1 Answers

If you upgrade to the latest iOS SDK, you will also (per default) use the latest version of the Graph API (at the moment when the SDK is released). The latest version in the SDK 3.x branch uses v2.2. I would advise to upgrade to the SDK 4.x branch to make use of the most recent features.

See also the Platform Upgrade Guide for all changes and how to work around those.

like image 102
Roemer Avatar answered Oct 13 '22 05:10

Roemer