Quay lại phần Tin tức dành cho nhà phát triển

Introducing Facebook Platform SDK V11.0 & Related Updates

8 tháng 6, 2021Tác giảJay Tang

Today we are releasing Facebook SDK v11.0 and additional updates to our Facebook Platform SDKs. This post outlines these updates and the required steps developers should take to avoid disruption, where necessary, for their application(s) integration with our platform. Here is a quick overview of some of the updates included as part of the SDK v11.0 release:

  • Graph API v11.0 Support and new SDK features: We are adding support for Graph API v11.0 and releasing new features including Login Connect with Messenger, additional permissions for Limited Login, as well as updates to the auto-logging of in-app purchases on the Android platform.
  • Upcoming Requirement to embed Client Token in SDK: With the release of Facebook SDK v11.0, we will be sharing an upcoming requirement for developers to embed Client Tokens in the SDK. This new requirement will take effect with the release of Facebook SDK v13.0 in January 2022.
  • Deprecation Announcements: Additionally, we are announcing our plans to discontinue the Embedded Comments & Quotes Plugins by September 6, 2021, and the deprecation of the SDK v9.0 series (including v9.1, v9.2 etc.). Beginning today, developers will need to begin migrating to v11.0 to avoid using deprecated SDKs for their application(s).

Please find additional details on these updates below.

Release of SDK V11.0

Today Platform SDK v11.0 is launching across Android, iOS and Unity platforms. Prior to the launch of v11.0, the last major SDK release was Platform SDK v9.0 on January 19, 2021. The SDK release progressed from v9.0 to v11.0 (with no SDK v10.0 release) in order to maintain alignment with the Graph API versioning and release cadence.

Other Key Releases

As part of this release, we are adding SDK support for the Facebook Graph API v11.0 and Marketing API v11.0. We have created this blog post to highlight additional announcements, product updates and reminders related to the Graph API v11.0 and Marketing API v11.0 release. Below is an overview of the new SDK features included as part of the SDK v11.0 release:

Launch of Login Connect with Messenger

At our F8 developer conference on June 2, 2021, we announced the launch of Login Connect with Messenger which enables developers to deepen their user engagement by creating new customer conversations right from the Facebook Login flow. Developers can learn more about Login Connect with Messenger here.

Launch of Additional Permissions for Limited Login in Beta

Today we’re announcing that we have expanded the Limited Login functionality to include the user_hometown, user_location, user_gender and user_link permissions which are currently in beta. In addition, the Profile on Limited Login has been updated to include first, middle and last name as separate fields. Developers can learn more about the expanded Limited Login functionality here.

Updates to Auto-logging of Android In-App Purchases

Today we’re announcing expanded support for auto-logging of in-app purchases on the Android platform. Through these updates, the Facebook Platform SDKs now include support for apps that use V2 and/or V3 of the Google Play Billing Library for auto-logging in-app purchase events.

Upcoming Requirements & Deprecations:

Upcoming Requirement to embed Client Tokens in the SDK:

Starting with the release of Platform SDK v13.0 in January 2022, developers will be required to embed a Client Token in the SDK for Graph API calls in order to prevent their apps from crashing upon initialization. The inclusion of Client Tokens in the SDK enables us to analyze platform issues more effectively and enhance the performance of the platform as a whole. With the launch of Platform SDK v13.0, we will begin using Client Tokens for processing Graph API calls when an Access or Authentication Token is unavailable. At that point, any apps using SDK v13.0 and above that do not include a Client Token will crash upon initialization of the SDK. Developers can learn more about how to embed their App’s Client Token in the SDK here in order to avoid any service disruption when Platform SDK v13.0 launches.

Deprecation of Embedded Comments & Quotes Plugins:

Today we’re announcing the deprecation of the Embedded Comments and Quotes plugins respectively. These plugins will remain operational and accessible for a 90-day period until September 6, 2021. After that point, both the Embedded Comments and Quotes plugins will be discontinued and no longer operational.

Deprecation of Platform SDK v9.0:

With the release of SDK v11.0, we are announcing that SDK v9.0 is now in a deprecated state for a 2-year period. During this deprecation period, there will be no formal maintenance support provided for any issues raised on SDK v9.0. At the end of the 2-year deprecation period, SDK v9.0 will be discontinued and no longer operational. In light of the deprecation of SDK v9.0, developers are encouraged to begin the process of migrating to SDK v11.0 as soon as possible to use the latest and greatest SDK with formal maintenance support.

Version Deprecations:

Below are the deprecated versions of the Facebook Platform SDKs and associated dates:

  • June 8, 2021
    • iOS, Android & Unity SDK v9.0 (Deprecated)
  • January 19, 2021
    • iOS, Android & Unity SDK v8.2 and below (Deprecated)

Changelog:

Visit our Changelogs to review specific changes to the SDKs and stay informed on planned improvements: