Today, we're excited to announce the launch of the new, fully rebuilt Facebook SDK v4.0 for iOS and Android along with Graph API v2.3 now available for download on our developer site. These updates make it easier and faster for developers to integrate their apps with Facebook.
Graph API v2.3
Last year at F8, we introduced API versioning, as well as a two-year stability guarantee for Core APIs as part of our commitment to provide a stable platform for developers. API v2.3 marks our fourth versioned API release, and we remain committed to releasing changes to our Platform through versioning. Here are the key updates in this version:
New Debug Mode gives developers more visibility and additional data on each API call. This mode can be called within your code or viewed through the Graph API Explorer, which now supports Debug Mode by default.
Updated functionality for managing video includes enhancements around control and customization, plus other improvements such as advanced gating options for videos and resumable uploading.
For Page developers, we've added the ability to deliver more content on a Page via real-time updates (RTUs). A new Login permission, publish_pages , is now required for apps to publish on behalf of Pages; previously, this required publish_actions.
Other new permissions and features (user_posts and All Mutual Friends) give people more control over their information, while allowing apps to offer experiences that are tailored based on the posts on a person's Timeline or their group of friends. To use these permissions and features, developers' apps must be approved by Facebook via Login Review
For a complete list of changes and new features see the changelog and upgrade guide.
New Facebook SDK v4.0 for iOS and Android
This is our first major update to the iOS and Android SDKs in more than two years. We've spent the past year talking to our developer community about how we can make their lives easier, so we rebuilt our SDKs to reflect their feedback. The biggest updates include:
We've improved the login programming model by replacing Session with LoginManager and AccessToken classes for more intuitive login and token management.
We've made it easier to automatically handle errors, especially those that happen with Graph API calls and can negatively impact people's experiences in apps if not properly handled.
iOS SDK v4.0 is separated into a small number of separate libraries, and Android SDK v4.0 is now structured to work with ProGuard. These changes will reduce the size of apps that include the SDKs, making it easy for a developer to use what they need for their app and no more.
We also added turnkey native Share and Send buttons for mobile, so developers can quickly get started with these social experiences in an iOS or Android app.
For full details on the new tools and features, see the upgrade guides (iOS, Android) and changelog (iOS, Android) .
Reminder: Login Review and Deprecation of Graph API v1.0
At the last F8, we announced Graph API v2.0, the new Login, and a Login Review process where we look at and approve any permissions that your app requests beyond public profile, e-mail and friend list. We've also announced that all apps created before April 30, 2014 and requesting these additional permissions must complete review by April 30, 2015. That deadline is fast approaching, and this is a reminder that your app may break if you have not been approved for the permissions you're using, or if you haven't upgraded your app to call Graph API v2.0 or greater.
For more information, please see the previously released v2.0 changelog and our Login Review best practices.