Facebook SDK 3.2 For iOS Now Available


Share this Post

It's been quite a while since Facebook last updated its iOS SDK. The last update came out around the launch of the iPhone 5 to include support for iOS 6. The latest SDK update doesn't have a major iOS update to piggyback on, but it includes a number of features that iOS developers will surely appreciate.

Facebook announced that version 3.2 of its SDK for iOS is now available to developers everywhere. The big update this time around is better mobile analytics so iOS app developers can get a better idea of how well their app's Facebook integration is working out.

Mobile analytics now include a number of new metrics and features that will help you get the most out of it:

  • App Usage Metrics: We’ve enabled additional metrics such as iOS 6 native share sheet and built-in native UI 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.
  • Aside from additions to analytics, the new SDK features enhanced error handling. In short, all classes of error responses will now receive SDK support and documentation. Facebook says that the "SDK will now automatically categorize errors by common application handling behavior and provide helpers to simplify some common error response cases." Version 3.2 will also handle a larger number error cases, including those introduced in iOS 6.

    Version 3.2 also adds improved Web dialog support and improvements to the API. For Web dialog improvements, the SDK now integrates Web, Feed and Requests dialogs without invoking deprecated headers. As for API improvements, Facebook is adding a new FBAccessTokenData type that should make it easier to open a session from token data.

    Facebook SDK 3.2 for iOS is fully backwards compatible, and is open to your feedback at Facebook's StackOverflow page. You can grab version 3.2 of the iOS SDK here.