Facebook SDK for iOS

Build engaging social apps and get more installs

Version 4.30.0
See the Changelog or Upgrade Guide for more information. Includes Bolts, Account Kit, and Facebook frameworks. Requires Xcode 8.

Get Started on iOS
Basics for iOS

SDK Reference Docs
API Reference Docs

To make your app compatible with iOS 11, be sure to use the latest Facebook SDKs for iOS.

If you link to the SDKs with CocoaPods, you must update your pods for the SDKs your app uses and recompile your app. You can also download the latest version of the Facebook iOS SDK, integrate it into your app, and recompile.

In the iOS SDK

Analytics

Powerful data, trends, and aggregated, anonymized audience insights about the people interacting with your app.

Ads

Drive installs with Mobile App Install Ads. Increase engagement with Mobile App Engagement Ads. Find your target audience with Custom Audiences for Mobile Apps.

Login

A secure and convenient way for people to log into your app or website using Facebook.

Account Kit

App login using just a phone number or email address — no password needed.

Share

Allow people using your app to share, send a message, or like content. They can also share Custom Stories with Open Graph.

Graph API

Get data in and out of Facebook's social graph, query data, post stories, upload photos and perform other tasks.

App Events

Understand people's actions in your app and measure the effectiveness of your Mobile App Ads.

App Invites

Allow people to send invites to friends from your app.

An open standard to deep link to content in your app.

Related SDKs

Download and integrate the Audience Network SDK for iOS to monetize your app with Facebook ads. Monetize your iOS apps with Facebook ads using Ad Banners, Full-Screen Ads, and the Native Ad API.

Related Resources

FAQ and Troubleshooting

Common questions and troubleshooting tips.

Error Handling

Build a robust and reliable app.