Facebook SDK for iOS Reference  (v3.9)
This is an old version of the SDK. Check out the latest version.
Newer Versions4.174.164.15.14.154.144.134.124.114.94.84.74.64.54.44.34.24.14.0.14.03.243.233.223.213.203.193.183.173.163.153.143.133.123.113.10
Previous Versions3.83.73.63.53.2.13.0Legacy
Classes
NameDescription
FBAccessTokenDataRepresents an access token used for the Facebook login flow and includes associated metadata such as expiration date and permissions
FBAppCallThe FBAppCall object is used to encapsulate state when the app performs an action that requires switching over to the native Facebook app, or when the app receives an App Link
FBAppEventsClient-side event logging for specialized application analytics available through Facebook App Insights and for use with Facebook Ads conversion tracking and optimization
FBAppLinkDataThis class contains information that represents an App Link from Facebook
FBCacheDescriptorBase class from which CacheDescriptors derive, provides a method to fetch data for later use
FBDialogsProvides methods to display native (i
FBDialogsDataThis class encapsulates state and data related to the presentation and completion of a dialog
FBDialogsParamsThis object is used as a base class for parameters passed to native dialogs that open in the Facebook app
FBErrorUtilityA utility class with methods to provide more information for Facebook related errors if you do not want to use the NSError(FBError) category
FBFrictionlessRecipientCacheMaintains a cache of friends that can recieve application requests from the user in using the frictionless feature of the requests web dialog
FBFriendPickerViewControllerThe FBFriendPickerViewController class creates a controller object that manages the user interface for displaying and selecting Facebook friends
FBGraphObjectStatic class with helpers for use with graph objects
FBInsightsThis class has been deprecated in favor of FBAppEvents
FBLoginViewFBLoginView is a custom UIView that renders a button to login or logout based on the state of FBSession
FBNativeDialogsPlease note that FBNativeDialogs has been deprecated, please migrate your code to use FBDialogs
FBOpenGraphActionShareDialogParamsThis object is used to encapsulate state for parameters to an Open Graph share dialog that opens in the Facebook app
FBPlacePickerViewControllerThe FBPlacePickerViewController class creates a controller object that manages the user interface for displaying and selecting nearby places
FBProfilePictureViewAn instance of FBProfilePictureView is used to display a profile picture
FBRequestThe FBRequest object is used to setup and manage requests to Facebook Graph and REST APIs
FBRequestConnectionThe FBRequestConnection represents a single connection to Facebook to service a request
FBSessionThe FBSession object is used to authenticate a user and manage the user's session
FBSessionTokenCachingStrategyThe FBSessionTokenCachingStrategy class is responsible for persisting and retrieving cached data related to an FBSession object, including the user's Facebook access token
FBShareDialogParamsThis object is used to encapsulate state for parameters to a share dialog that opens in the Facebook app
FBTestSessionImplements an FBSession subclass that knows about test users for a particular application
FBUserSettingsViewControllerThe FBUserSettingsViewController class provides a user interface exposing a user's Facebook-related settings
FBViewControllerThe FBViewController class is a base class encapsulating functionality common to several other view controller classes
FBWebDialogsProvides methods to display web based dialogs to the user
Protocols
NameDescription
FBFriendPickerDelegateThe FBFriendPickerDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the FBFriendPickerViewController view
FBGraphLocationThe FBGraphLocation protocol enables typed access to the location property of a Facebook place object
FBGraphObjectThe FBGraphObject protocol is the base protocol which enables typed access to graph objects and open graph objects
FBGraphPlaceThe FBGraphPlace protocol enables typed access to a place object as represented in the Graph API
FBGraphUserThe FBGraphUser protocol enables typed access to a user object as represented in the Graph API
FBLoginViewDelegateThe FBLoginViewDelegate protocol defines the methods used to receive event notifications from FBLoginView objects
FBOpenGraphActionThe FBOpenGraphAction protocol is the base protocol for use in posting and retrieving Open Graph actions
FBOpenGraphObjectThe FBOpenGraphObject protocol is the base protocol for use in posting and retrieving Open Graph objects
FBPlacePickerDelegateThe FBPlacePickerDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the FBPlacePickerViewController view
FBUserSettingsDelegateThe FBUserSettingsDelegate protocol defines the methods called by a FBUserSettingsViewController
FBViewControllerDelegateThe FBViewControllerDelegate protocol defines the methods called when the Cancel or Done buttons are pressed in a FBViewController
FBWebDialogsDelegateThe FBWebDialogsDelegate protocol enables the plugging of advanced behaviors into the presentation flow of a Facebook web dialog
Categories
NameDescription
NSError(FBError)Adds additional properties to NSError to provide more information for Facebook related errors
Other
NameDescription
FBError
FBSettings