I am aware of the fact that FQL has been depricated in recent versions of API.
But I wish to be able to use FQL as long as I can for my app. The problem is I am not able to select old api version for this app [ what is compatible with FQL].
Older API options appears when I choose application as Graph API Explorer.
But as after I select my own Facebook app , my api version options are limited to 2.3 .
I tried selecting unrevisioned which is supposed to select the oldest API version available but I still get the error.
{
"error": {
"message": "(#12) fql is deprecated for versions v2.1 and higher",
"type": "OAuthException",
"code": 12
}
}
Well you shouldn't use FQL, just move to Graph API, with a slight graph theory learning curve, you should eventually get the hang of it.
BUT From the Documentation
Can my app make calls to versions older than the current version?
An app can make calls to the version of the API that was the latest
available when the app was created, as well as any newer,
un-deprecated versions launched after the app is created.
Here's an example:
If your app was created before the launch of v2.0, while v1.0 was
available, then it will be able to make calls to v1.0 until the
expiration date of that version. If your app was created after v2.0
was released, it will be able to make calls to v2.0 until the
expiration date of that version, and any subsequent versions (v2.1
etc) until their expiration dates. If an app is created and isn't used
to make any calls or requests before a new version is released, it
will not have the ability to use older versions. Here's an example to
explain this:
If your app was created while v2.0 was the latest version available,
but not used until after v2.1 had launched, it will only be to use
v2.1, and not v2.0. If your app was created while v2.0 was the latest
version available, and then used before v2.1 had launched, it will
still be able to use v2.0 even after the launch of v2.1.
so when was your app created and used ?
FQL should be accessible if your app was created and used during Facebook V2.0 before 2.1 came along and V2.0 is available till August 7, 2016
Related
We recently received this alert from Facebook on our Unity App.
Your app 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.
The SDK version is 6.2.2 which should be on API 2.2 - 2.4.
These are the APIs/Properties I'm using:
FB.Init(OnFbInit, OnHideUnity);
FB.API("/me?fields=name", Facebook.HttpMethod.GET,GotFBData);
FB.IsLoggedIn;
FB.UserId
FB.AccessToken
FB.Login
Why is Facebook saying we are using API 2.0? Is it safe to ignore?
I don't think it's the /me?fields=name call there is probably another call you are using in some legacy code perhaps. Consider using API Upgrade Tool you can find out more information about it at https://developers.facebook.com/docs/graph-api/advanced/api-upgrade-tool/
Just recently one dude found an answer to this. Looks like Facebook has a bug where it mistakenly assumes an app is using v2.0. Nevertheless, I think it won't hurt to check if an app is properly updated.
Facebook Developer Bug page
Unity Answers URL
I received, recently, an e-mail from Facebook telling me that my APP is doing some deprecated calls that will stop working on August, 8th
Using the Facebook API Migration Tool, it shows me no calls to older APIs, so, I am good to go
I use the Facebook PHP SDK in my application and all places where "graph_version" appears, it is forced to v2.5
In Facebook's Developers Dashboard, my APP is showing API version 2.0 (was the API at the creation time)
So, do I need to worry? When the date comes, will my APP API Version change automaticly? How can I update my APP info on Dashboard to set the API version to 2.5 or above?
Thank you in advance
You can upgrade the Facebook API version of your app simply by going to the app dashboard, then Settings -> Advanced (in a drop-down menu under Settings) or use the URL: https://developers.facebook.com/apps/YOUR_APP_ID_HERE/settings/advanced/
If you press on the "?" mark, you will see that this is the oldest version your app can call. It means you can use any versions that newer than this version, all older versions can not be used.
So you'll be ok.
We recently received this alert from Facebook on our Unity App.
Your app 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.
The SDK version is 6.2.2 which should be on API 2.2 - 2.4.
These are the APIs/Properties I'm using:
FB.Init(OnFbInit, OnHideUnity);
FB.API("/me?fields=name", Facebook.HttpMethod.GET,GotFBData);
FB.IsLoggedIn;
FB.UserId
FB.AccessToken
Why is Facebook saying we are using API 2.0? Is it safe to ignore?
Thanks,
Visit this link
https://developers.facebook.com/tools/api_versioning/
Then select your app. This will determine exactly which API version you are using.
If you wish to upgrade, this is the place, otherwise, safe to ignore.
I have a facebook web app & it's working fine on older version of the Facebook API. Today, I have created a new app. I am trying to use that old codes into my new app based on the updated API. I want to use facebook api v2.2. Is it possible to mention its version while creating a new app?
You can only use v2.2 with an App created before v2.3 was introduced. You can only upgrade to a newer version, but never to an older one.
Btw, creating an App with an older API version would be a very bad idea anyway, better create something that works with the latest API.
I want to use facebook api 1.0. Is it possible to mention its version directly in the code, like in facebook->api() call? or give me a download link for it. I searched for its download link but i couldnt find it.
I want to use v1.0 because there is something which v2.0 is not supporting, like read_requests permissions to get user's friend requests or if there is way to get friend requests in v2.0 please mention it in your answer.
i created my app some 12 days ago.
As the Platform Versioning page refers to, you are probably out of luck:
Can my app make calls to versions older than the current version?
If your app was created before the launch of v2.0 [April 30, 2014], while v1.0 was available, then it will be able to make calls to v1.0 until the expiration date of that version [April 30, 2015].
EDIT: As WizKid mentions, apps that existed before 4/30/2014 can use v1.0 of the API. According to the f8 dev blog post on 4/30/2014:
...existing apps have a full year to upgrade (April 30, 2015).