Facebook Releases New IOS SDK

Facebook Monday released a new version of its software-development kit for iOS, iOS SDK 3.2, and the social network also revamped its iOS developers’ center, in an effort to ease the process for developers creating Facebook-integrated iOS applications.

Facebook said in a post on its developer blog that improvements in the new SDK include better mobile analytics, enhanced error handling, improved Web dialog support, and improvements to its application-programming interface.

The social network provided more details in its developer blog post:

The 3.2 release addresses some of the most requested improvements and adds support for better analytics, making it easier to build, distribute, and promote your app. These features include:

  • Better mobile analytics: Access to meaningful analytics data can go a long way toward understanding how people use your apps. We’ve added support for measuring additional usage metrics and optimizing ads to help improve your app’s quality and monetization potential.
  • App usage metrics: We’ve enabled additional metrics such as iOS 6 native share sheet and built-in native user-interface controls usage that can now be logged through our SDK. We’ve also added support for showing these metrics on app insights to help you understand how people are interacting with your app.
  • Ads optimization: Similar to our current conversion-measurement product for websites, we are currently working on a solution for native iOS apps. Integrating with our SDK will let you log conversion events from your apps. Conversion measurement helps businesses measure and optimize the return on investment of their Facebook ads by reporting on the actions people take after viewing those ads.
  • Purchase events (beta): We’re previewing support for logging in-app purchase events with select partners.
  • Enhanced error handling: We’ve enabled SDK support and documentation for all classes of error responses, which will significantly improve your SDK integration experience. The SDK will now automatically categorize errors by common application handling behavior and provide helpers to simplify some common error response cases. In addition, the SDK will automatically handle a larger number of error cases, including various iOS 6 cases such as password changes and expired tokens.
  • Improved Web dialog support: This release adds support for integrating Web dialogs, feed dialog, and requests dialog, without invoking deprecated headers, making it cleaner and easier to add dialogs into your app.
  • API improvements: We’re adding a new FBAccessTokenData type, which encapsulates token data information such as token string, permissions, expiration date, etc., to make it easier to open a session from token data explicitly. This allows you to better handle app and deep linking, as well.

This update also includes bug fixes that improve stability and is backwards-compatible. Please share your feedback with us on Facebook’s StackOverflow page with the tag facebook-ios-sdk. Start developing today to take advantage of these powerful new tools and resources.

iOS developers: Are you ready to start experimenting with iOS SDK 3.2?

Related Stories
Mediabistro Course

Facebook Marketing

Facebook MarketingStarting Janaury 13, work with the group marketing manager of social media at Microsoft/BingAds to build a fan base and grow your business on Facebook! In this course, Geoffrey Colon will teach you how to set up and enhance your company page, understand best practices and measuring your success, execute a monthly content strategy, and incorporate Facebook into your overall marketing efforts. Register now!