Facebook SDK for iOS

Build engaging social apps and get more installs

See the Changelog or Upgrade Guide for more information. Includes Facebook frameworks.

Get Started on iOS
Basics for iOS

SDK Reference Docs
API Reference Docs

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

If you use SPM or CocoaPods to integrate the Facebook SDK, see the Upgrade Guide for information on how to update your app. You can also download the latest version of the Facebook iOS SDK, integrate it into your app, and recompile.

Beginning with SDK v13.0, set to release in early 2022, a Client Token will be required for all calls to the Graph API.


The Facebook SDK for iOS contains component SDKs that you can connect to individually.

Features of the iOS SDK


Mobile app ads help you get more people to install and engage with your app. Learn how to set up an app for app ads.


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

App Events

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


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 Store Connect Requirements

To provide functionality within the Facebook iOS SDK, we may receive and process certain contact, location, identifier, and device information associated with Facebook users and their use of your application. The information we receive depends on what SDK features third party applications use. Please visit the Facebook for Developers blogpost for more information about these SDK features.

Related SDKs

Download and integrate the Audience Network SDK for iOS to monetize your app with Facebook ads. Audience Network includes:

Related Resources

FAQ and Troubleshooting

Common questions and troubleshooting tips.

Error Handling

Build a robust and reliable app.

Terms of Use

Terms of use for Facebook's open source SDKs

Privacy Policy

Privacy policy for Facebook's open source SDKs