Post

Facebook SDK for iOS

Facebook SDK for iOS
Build great social apps and get more installs.
Download the latest SDK See what's new in 3.5 (Change Log. Upgrade Guide.)

Overview

Using Facebook helps you build immersive social apps and get more installs. Learn the basics of building and growing your app on iOS devices.

Getting Started on iOS

The Facebook SDK for iOS is designed to be easy to install and use. This guide walks through the basics of setting up the development and project environment and creating a simple app. Or you can watch our video introducing you to the SDK.

Tutorials

Adding More Social Functionality

Once you've added Facebook Login, you can start using the Graph API, and publishing Open Graph stories from your iOS apps. This tutorial will show you how.

Integrating Games with Facebook

This tutorial shows how to use the Facebook SDK for iOS to add features such as scores, achievements and requests to your iOS game.

SDK Reference

If you're already up-to-speed with using our SDK, you can jump straight to our reference documentation.

Best Practices for iOS Apps

Use our SDK at all times. Our SDK flows are optimized and work robustly across various types of devices without any manual adjustment. On mobile, using our iOS SDK lets people using your app avoid having to log in twice (once to Facebook, once to your app). Read our Facebook Login for iOS SDK guide.
Use SDK controls and dialogs wherever possible. UI components like the Share Dialog and the Login control provide a simple and consistent way to implement various social features from Facebook. See our UI library for iOS.
Improve distribution using social features. Sharing links, publishing Open Graph stories, and sending requests will help to drive more people to your apps. Read more about our distribution features.
Promote your app and reach more people. Mobile app install ads appear in mobile news feed and are a new, effective way to reach more people with your mobile apps. Read more about them.
Drive growth with App Center. Facebook's App Center is a great way to drive growth and this guide will help you get your app set up and optimized for it.

Features

Facebook Login

The Facebook SDK for iOS provides various login experiences that your app can use to authenticate someone. Read more about them in this guide.

API Queries

The Facebook SDK for iOS includes methods to access the Graph API and FQL. Read our Graph API guide to accessing the User object or our FQL query guide.

iOS Integration

Apple added features in iOS 6 that help native mobile developers build great experiences on iOS devices.

Dialogs and Controls

Our SDK offers a number of built-in UI components to speed up your integration process and we have guides to help you use them all.
  • Share Dialog. Lets you share content and publish Open Graph stories with a small snippet of code.
  • Profile Picker. Can be used to show the profile picture for a person, place, or event.
  • Friend Picker. An easy way to display a list of a person's friends to select.
  • Place Picker. Lets apps retrieve location information from people.

Promote your App

Mobile App Install Ads

Mobile app install ads appear in mobile news feed and are a new, effective way to reach more people with your mobile apps.

App Center

The App Center is a great way to drive growth and this article will help you get your app setup for App Center.

Sharing and Distribution

Learn how to use the SDK to improve the distribution of your app through sharing and publishing.

Guides

Once you've gotten through the basics, we have more guides to help you build complex features into your apps.

Optimization

Customization

Advanced