facebook-ios-sdk
facebook-ios-sdk copied to clipboard
Latest SDK version (13.2.0) incompatible with Graph API v14.0 for newly created apps
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
13.3
Facebook iOS SDK version
13.2.0
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
SDK release that supports the latest Graph API version (v14.0)
Expected results
- Support for Graph API v14.0
- Recognition in Facebook developer console that the integrated SDK version is up to date
Actual results
- SDK uses Graph API v13.0 for app which only supports v14.0+
- Facebook developer console indicates the app SDK is out of date
Steps to reproduce
- Create new Facebook app (e.g. Consumer app type)
- Add iOS platform to the app
- Integrate latest SDK version (13.2.0) using Cocoapods (https://developers.facebook.com/docs/ios/getting-started/)
- Enable all logs
- Build and run app
Result
FBSDKLog: Response <#1132>
Duration: 558 msec
Size: 258 kB
Response Body:
(
{
body = {
"__debug__" = {
messages = (
{
link = "https://developers.facebook.com/docs/apps/versions/";
message = "The app tried to call version v13.0. The API version specified is unavailable, so the request defaulted to version v14.0.";
type = warning;
}
);
};
data = (
);
};
code = 200;
}
)
Facebook Events Manager
Facebook Developer Console
Versioning
According to Platform Versioning, it is expected behavior for apps to only support Graph API versions available at the time of creation/usage:
You can specify older versions in your API calls as long as they are available and your app has made calls to that version. For example, if your app was created after v2.0 was released and makes calls using v2.0, it will be able to make calls to v2.0 until the version expires even after newer versions have been released. If you created your app after v2.0 but did not make any calls until v2.2, your app will not be able to make calls using v2.0 or to v2.1. It will only be able to make calls using v2.2 and newer versions.
However, the current problem exists because the latest version of the iOS SDK doesn't yet support Graph API v14.0.
Is there an ETA for an SDK release that supports the latest Graph API version?