# Facebook SDK for iOS ## Docs - [AccessToken](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/core/access-token.md): Represents a user access token for the Facebook Graph API and provides helpers for inspecting permissions and token state. - [ApplicationDelegate](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/core/application-delegate.md): The central class for integrating the Facebook SDK with your app lifecycle. - [GraphRequest](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/core/graph-request.md): Make calls to the Facebook Graph API using GraphRequest. Batch multiple requests with GraphRequestConnection for greater efficiency. - [Profile](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/core/profile.md): An immutable snapshot of a Facebook user's public profile data. Observe Profile.current to react to profile changes throughout your app. - [Settings](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/core/settings.md): A centralized configuration object for the Facebook SDK. Use Settings.shared to configure your app ID, client token, logging, and data collection behavior. - [GameRequestDialog](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/gaming/game-request-dialog.md): Presents a dialog that lets users send game requests to their Facebook friends. - [GamingContext](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/gaming/gaming-context.md): Holds data about the user's current game instance, including a unique identifier and the number of players. - [TournamentFetcher](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/gaming/tournament-fetcher.md): Fetches the tournaments that the current user is participating in, and updates scores via TournamentUpdater. - [DeviceLoginManager](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/login/device-login-manager.md): Performs the Facebook device login flow for tvOS and other limited-input devices. - [LoginConfiguration](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/login/login-configuration.md): A configuration object that controls the behavior of a login attempt, including permissions, tracking mode, and PKCE options. - [LoginManager](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/login/login-manager.md): Provides methods for logging the user in and out of your app using Facebook Login. - [LoginResult](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/login/login-result.md): Describes the outcome of a login attempt as a Swift enum, plus the Objective-C compatible LoginManagerLoginResult class. - [ShareDialog](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/share/share-dialog.md): Presents the Facebook share dialog, letting users share links, photos, and videos from your app. - [ShareLinkContent](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/share/share-link-content.md): A model for sharing a URL link with an optional quote and hashtag. - [SharePhotoContent](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/share/share-photo-content.md): A model for sharing one or more photos from your app to Facebook. - [ShareVideoContent](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/share/share-video-content.md): A model for sharing a video from your app to Facebook. - [In-App Purchase events](https://mintlify.wiki/facebook/facebook-ios-sdk/app-events/iap-events.md): Automatically track in-app purchases using StoreKit integration. - [Logging events](https://mintlify.wiki/facebook/facebook-ios-sdk/app-events/logging-events.md): Log standard and custom events to measure user behavior in your iOS app. - [App Events](https://mintlify.wiki/facebook/facebook-ios-sdk/app-events/overview.md): Track user actions and measure campaign performance with Facebook App Events. - [Handling deep links](https://mintlify.wiki/facebook/facebook-ios-sdk/app-links/handling-deeplinks.md): Process inbound App Links and implement deep link routing in your iOS app. - [App Links](https://mintlify.wiki/facebook/facebook-ios-sdk/app-links/overview.md): Handle deep links and route users to specific content inside your iOS app. - [Changelog](https://mintlify.wiki/facebook/facebook-ios-sdk/changelog.md): Release history for the Facebook SDK for iOS. - [Context dialogs](https://mintlify.wiki/facebook/facebook-ios-sdk/gaming/context-dialogs.md): Use ChooseContextDialog, CreateContextDialog, and SwitchContextDialog to manage Instant Games contexts on iOS. - [Game requests](https://mintlify.wiki/facebook/facebook-ios-sdk/gaming/game-requests.md): Send in-game notifications and invitations to friends using GameRequestDialog on iOS. - [Media upload](https://mintlify.wiki/facebook/facebook-ios-sdk/gaming/media-upload.md): Upload images and videos to a user's Gaming Media Library using GamingImageUploader and GamingVideoUploader on iOS. - [Gaming Services overview](https://mintlify.wiki/facebook/facebook-ios-sdk/gaming/overview.md): An overview of the Facebook Gaming Services SDK for iOS, including contexts, game requests, tournaments, and media upload. - [Tournaments](https://mintlify.wiki/facebook/facebook-ios-sdk/gaming/tournaments.md): Fetch, update scores in, share, and join Facebook Gaming tournaments on iOS. - [SDK configuration](https://mintlify.wiki/facebook/facebook-ios-sdk/getting-started/configuration.md): Reference for all Info.plist keys, URL scheme setup, and runtime settings available in the Facebook SDK for iOS. - [Installation](https://mintlify.wiki/facebook/facebook-ios-sdk/getting-started/installation.md): Add the Facebook SDK for iOS to your project using Swift Package Manager, CocoaPods, or Carthage. - [Quickstart](https://mintlify.wiki/facebook/facebook-ios-sdk/getting-started/quickstart.md): Get Facebook Login working in your iOS app in five steps. - [Batch requests](https://mintlify.wiki/facebook/facebook-ios-sdk/graph-api/batch-requests.md): Execute multiple Graph API requests in a single network call using GraphRequestConnection. - [Making Graph API requests](https://mintlify.wiki/facebook/facebook-ios-sdk/graph-api/making-requests.md): Use GraphRequest to fetch data from the Facebook Graph API. - [Graph API](https://mintlify.wiki/facebook/facebook-ios-sdk/graph-api/overview.md): Query the Facebook Graph API from your iOS app using authenticated requests. - [Error handling](https://mintlify.wiki/facebook/facebook-ios-sdk/guides/error-handling.md): Understand Facebook SDK error domains and codes, handle errors from LoginManager and GraphRequest, and implement user-facing error recovery. - [Migration guide](https://mintlify.wiki/facebook/facebook-ios-sdk/guides/migration.md): Upgrade your app to the latest Facebook SDK for iOS, including breaking changes from v13 through v18. - [iOS 14 privacy & data disclosure](https://mintlify.wiki/facebook/facebook-ios-sdk/guides/privacy-ios14.md): Configure App Tracking Transparency, manage advertiser ID collection, and understand App Store data disclosure requirements for the Facebook SDK. - [Introduction](https://mintlify.wiki/facebook/facebook-ios-sdk/introduction.md): The Facebook SDK for iOS lets you integrate Facebook platform features — login, sharing, analytics, and more — directly into your iOS app. - [Access tokens](https://mintlify.wiki/facebook/facebook-ios-sdk/login/access-tokens.md): Understand AccessToken, its properties, expiration, and how to use it for authenticated Graph API calls. - [Limited Login](https://mintlify.wiki/facebook/facebook-ios-sdk/login/limited-login.md): Use LoginTracking.limited on iOS 14+ to authenticate users without tracking or Graph API access. - [Login button](https://mintlify.wiki/facebook/facebook-ios-sdk/login/login-button.md): Add the FBLoginButton to your iOS app for a ready-made Facebook Login UI. - [LoginManager](https://mintlify.wiki/facebook/facebook-ios-sdk/login/login-manager.md): Use LoginManager to programmatically log users in and out of your iOS app with Facebook. - [Facebook Login overview](https://mintlify.wiki/facebook/facebook-ios-sdk/login/overview.md): Let users log in to your iOS app with their Facebook account using OAuth 2.0. - [Permissions](https://mintlify.wiki/facebook/facebook-ios-sdk/login/permissions.md): Request and inspect Facebook permissions to control which user data your iOS app can access. - [Sharing overview](https://mintlify.wiki/facebook/facebook-ios-sdk/sharing/overview.md): Let users share links, photos, and videos to Facebook directly from your app using the FacebookShare SDK. - [Share link content](https://mintlify.wiki/facebook/facebook-ios-sdk/sharing/share-content.md): Build and share a link to Facebook using ShareLinkContent, with optional quote text and a hashtag. - [Share dialog](https://mintlify.wiki/facebook/facebook-ios-sdk/sharing/share-dialog.md): Present a Facebook share dialog from any view controller using ShareDialog. - [Share photos and videos](https://mintlify.wiki/facebook/facebook-ios-sdk/sharing/share-photos-videos.md): Share photos, videos, and mixed media to Facebook using SharePhotoContent, ShareVideoContent, and ShareMediaContent. ## OpenAPI Specs - [openapi](https://mintlify.wiki/facebook/facebook-ios-sdk/api-reference/openapi.json)