- Home /
Facebook Developer Alert: Recent API calls to Graph API v2.0
I am using the Facebook SDK for Unity (v7.4.0) in one of my games. I recently received the following Developer Alert from Facebook:
[your game] has been making recent API calls to Graph API v2.0, which will reach the end of the 2-year deprecation window on Monday, August 8, 2016. Please migrate all calls to v2.1 or higher in order to avoid potential broken experiences.
We recommend using our new Graph API Upgrade Tool to see which of your calls are affected by this change as well as any replacement calls in newer versions. You can also use our changelog to see the full list of changes.
I don't know where this calls to API v2.0 are coming from since I am using SDK v7.4.0 which should use v2.5 by default.
Can someone give me a hint on where the calls to API v2.0 may come from?
I'm also trying to trace where this is called in our app given that we are using the same version as yours, FB Unity sdk v7.4.0 and it indeed targets v2.5 of the Graph API.
It says here: https://developers.facebook.com/docs/apps/versions
Each version of the iOS SD$$anonymous$$ that's released is tied to the version that's available on the date of release. This means that if you're upgrading to a new SD$$anonymous$$ you're also upgrading to the latest API version as well...
And we never explicitly declared any version when we call FB.APIs.
Hey, any luck with this issue? I got the same alert using SD$$anonymous$$ v6.2.1 (which should default to v.2.2). Tried this Graph API Upgrade Tool, but it seems to show changes only from v2.2 or later, so no idea if it's any use at all...
Just found this bug in Facebook Developer Bug page, looks like many are also encountering this notice despite using an sdk with graph api v2.1 or higher.
Answer by Binarific · Jul 08, 2016 at 11:37 AM
It appears that this was a bug and the alert was sent out by mistake.
Response from Facebook on the bug report:
If your app's minimum API version is v2.1 or above (you can verify this in the app settings "Dashboard" page), you don't need to do anything, and you can ignore this alert. If your app's minimum API version is v2.0, we recommend that you vet your app's code and look for Platform Integrations (API calls) that explicitly use v2.0. You can then proceed to upgrade those. If you are certain that you are not using v2.0, you can also ignore this alert.
https://developers.facebook.com/bugs/1634445133540643/?hc_location=ufi
Your answer
Follow this Question
Related Questions
Unity: Is there any alternative to facebook SDK for facebook ads attribution? 0 Answers
Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer
Facebook Post to wall FB.Feed issue in Unity Facebook SDK 1 Answer
Problem Geting friends Facebook Sdk 0 Answers