Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Media
  • Payments
  • App Center
  • Promote Your App
  • iOS
    • Getting Started
    • Concepts
    • Reference
  • Android
  • Web
  • Technology Partners

Facebook SDK for iOS

Build great social apps and get more installs.

Download the SDK
(v3.5.2 as of June 6th, 2013. See what's new in 3.5.)



Getting Started

Get up and running with our iOS SDK in six easy steps.

Concepts

Learn the basics of building and growing your app.

SDK Reference

Start coding with our documentation and sample code.

Tutorials

iOS SDK Tutorial

This multi-part tutorial walks you through building a Facebook integrated iOS app.

iOS Games Tutorial

This tutorial shows how to use the Facebook SDK for iOS to add Facebook features to your game.

Upgrading SDKs

This tutorial shows you how to upgrade to the latest version of the Facebook SDK for iOS.

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

For the over one billion people that use Facebook, the App Center is the central place to find great social apps.

Setup for 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.

Controls & UI

Share Dialog

The Share Dialog lets apps build great, native sharing experiences for their users. share

Login

User interface component that you can use to implement Facebook Login. login

Profile Picture

User interface component that you can use to show the profile picture for an object such as a user, place or event. profile-pic

Friend Picker

User interface component that you can use to display a user's friends. You can use this to add a user's friends to a story. friend-picker

Place Picker

User interface component that you can use to show places near the user. You can use this to add a user's location to a story. place-picker

Authentication

Use Facebook Login

The Facebook SDK for iOS provides various login experiences that your app can use to authenticate a user.

Add Facebook Login

Adding Facebook Login for iOS allows you to obtain an access token to access Facebook services on behalf of a user.

iOS 6 Integration

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

Session

The FBSession class is used to manage, store, and refresh user tokens by default.

Handling App Links

The FBAppCall class is used to help you manage incoming links from Facebook for iOS app during the Facebook Login flow.


Data Access

Fetch User Data

The Facebook SDK for iOS includes methods to access the Graph API User object. It also supports strongly-typed access to common User properties.

Run FQL Queries

FQL, the Facebook Query Language, allows you to use a SQL-style interface to query data exposed by the Graph API.


Sharing & Distribution

Sharing

The Facebook SDK for iOS provides various methods that your app can use to implement sharing.

Publish to Feed

The Facebook SDK for iOS provides a way to publish to a user's timeline with the Graph API.

iOS Share Sheet

The Facebook SDK for iOS provides hooks into the iOS6 share sheet so your app can use a native share dialog if the user has an iOS 6+ device.

Feed Dialog

The Facebook SDK for iOS provides methods for integrating with the Feed Dialogs, that publishes posts to News Feed.

Link To Your App

If your app has Login with Facebook, people can find it through the Facebook for iOS app.

Send Requests

The Requests Dialog that is used by a user sends out notifications to one or more friends.


Customization

Add Search to Friend Selector

The Facebook SDK for iOS includes a control object that makes it simple to add a friend selector to your app.

Manage Your Own Token Cache

The Facebook SDK for iOS automatically takes care of storing and fetching data related to Facebook session management for your app.

Share an App ID Across Apps

You can use one Facebook app ID in multiple iOS apps. One scenario where you could do this is if you have a free and paid version of your iOS app.


Optimization

Batch Requests

The Graph API supports batching of requests, so you can specify multiple requests in a single HTTP request.

Caching

The Facebook SDK for iOS provides a caching feature that lets you pre-fetch data for friends and nearby places.

Select Friends By Device

You may want to restrict the friends that display to show only those with specific devices.

Other Resources

Change Log

Changes and fixes in our iOS SDK releases.

SDK Downloads

Download previous versions of our iOS SDK.

Support Community

Helpful Stack Overflow Q&A forum for Facebook iOS SDK. Or you can file a bug.

Updated 18 hours ago
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy