Skip to main content

Facebook releases SDK 3.1 for iOS with iOS 6 integration

We have been following Facebook’s improvements to its SDK for iOS in recent months. In July, Facebook released a beta featuring iOS 6 Facebook integration and a new Dev Center for iOS developers. It has maintained that beta alongside version 3.0 of its SDK up until today with the official release of Facebook SDK 3.1 for iOS. Facebook officially announced the release of the SDK, which features new tools for mobile app developers interested in taking advantage of Facebook’s native integration with iOS 6 in their apps, on its Developer Blog earlier today.

Developers can download Facebook SDK 3.1 for iOS here.

Facebook’s Eddie O’Neil walked through some of the new features of the SDK, including: Native Facebook Login, native Facebook share sheets, and ready-to-use UI controls:

Native, ready-to-use UI controls: The SDK includes several pre-built user interface controls:

-Friend Picker to help apps easily pick friends. Example: use a friend picker to choose friends to tag in an Open Graph action.
-Places Picker so apps can easily integrate with Facebook places. Example: use this picker to let users include a place with their posts.
-Profile Picture control so your app can easily show the profile picture of a user, their friends, places, or other kinds of Facebook objects.
-Login controls for easily building Login and Logout experiences.

Facebook Login support across iOS versions: Lets your app work seamlessly on all iOS versions 4.0+ and integrates easily with the native login support in iOS 6.

Easy session management: Introduces the FBSession API that manages, stores, and refreshes user tokens. You can also override default behaviors to build advanced features. It uses the modern Objective-C “block” metaphor to notify your app of login, logout and other session state changes, and it instantly integrates with iOS 6.

Improved API support: Minimizes the code you need to call Facebook Graph, FQL, and other APIs. It natively supports batched API requests to significantly improve performance for API calls, which translate into faster, better user experiences.

The SDK also includes a beta of Facebook’s Ad analytics tool allowing app developers to get statistics related to how effective their ads are:

Ad analytics (Beta): Lets you record analytics to give you information about the effectiveness of your ads and understand how people use your app. Learn more about the mobile ads product.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Jordan Kahn Jordan Kahn

Jordan writes about all things Apple as Senior Editor of 9to5Mac, & contributes to 9to5Google, 9to5Toys, & Electrek.co. He also co-authors 9to5Mac’s Logic Pros series.