Facebook SDK for iOS

This documentation describes how to integrate your iOS app with Facebook to build engaging social apps by using the Facebook SDK for iOS. To learn more about using Facebook development tools, see App Development.

The current version of the Facebook SDK for iOS is available on GitHub.

When you use the Facebook SDK for iOS, follow the Facebook Open Source Terms of Use and Privacy Policy.

Beginning with SDK v13.0 you must provide a Client Token for all calls to the Graph API.

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.

Documentation Contents

Component SDKs

Describes the component SDKs of the Facebook SDK for iOS.

Get Started

A short tutorial to get you up and running.

Use Facebook Login

Enable users to to log into your iOS app with Facebook Login.

Get Facebook User Data

Get Facebook user data in your iOS app if allowed by the user and your app permissions.

Share a Photo

Share a photo from your iOS app.

Facebook Share Sample

Source code and project files that you can build and run to learn how to share a photo or link to Facebook from your iOS app.

Sharing to Reels

Integrate sharing into your iOS app so that users can share video content to Facebook Reels.

Advanced Topics

Create a simulator build of your app for the app review process.

Create a Simulator Build

Create a simulator build of your app for the app review process.

Calling the Graph API from iOS

Learn how to call the Facebook Graph API from your iOS app.

Error Handling

Changelog and release notes for the Facebook SDK for iOS.

Upgrade Guide

Instructions for upgrading your version of the Facebook SDK for iOS.

FAQ & Troubleshooting

Frequently asked questions and troubleshooting information for the Facebook SDK for iOS.

Reference

Component and endpoint references.