# meta/facebook-ios-sdk

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/meta-facebook-ios-sdk).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

8,115 stars · 3,697 forks · Swift · NOASSERTION

## Links

- GitHub: https://github.com/meta/facebook-ios-sdk
- Homepage: https://developers.facebook.com/docs/ios
- awesome-repositories: https://awesome-repositories.com/repository/meta-facebook-ios-sdk.md

## Description

The Facebook SDK for iOS is a Swift software development kit that connects iOS apps to Facebook. It lets people sign in with their existing Facebook account, returning an identity and access token, and it lets apps share links, photos, and other content out to the social platform. It also includes a client for sending authenticated requests to the Graph API to read profiles and update data, with stored access tokens and error handling.

The kit is split into independent modules for core, login, sharing, gaming, and attribution, each declared as its own Swift Package Manager library, so an app links only the pieces it needs. Beyond login and sharing, it covers app analytics (recording user actions as events and attributing installs to advertising campaigns), deep link handling that opens an installed app at the intended screen, and a dedicated gaming module for connecting iOS games to Facebook's gaming features.

Login and sharing prompts ship with translated strings for dozens of languages and regional variants. Builds can switch between locally compiled frameworks and prebuilt binaries downloaded from a release URL, with each download verified by a checksum. The repository includes sample apps for login, sharing, and gaming, a smoke-test project for Swift Package Manager integration, helper scripts for building and testing, and generated API reference documentation. Security issues are reported privately through a bug bounty program.

## Tags

### Mobile Development

- [Social Platform SDKs](https://awesome-repositories.com/f/mobile-development/social-platform-sdks.md) — Provides a Swift SDK that connects iOS apps to Facebook for login, sharing, analytics, gaming, and other social features.
- [Mobile App Analytics](https://awesome-repositories.com/f/mobile-development/mobile-app-analytics.md) — Records user actions and in-app events to measure engagement and attribute installs to the advertising campaigns that drove them.
- [Ad Performance Measurement](https://awesome-repositories.com/f/mobile-development/ad-sdk-integrations/ad-performance-measurement.md) — Packages an ad-event measurement kit that tracks conversions and attributes installs to the advertising campaigns that drove them. ([source](https://github.com/meta/facebook-ios-sdk/blob/main/Package.swift))
- [Deep Link Routing](https://awesome-repositories.com/f/mobile-development/deep-link-routing.md) — Handles incoming app links to route people from a platform link into the matching screen of an installed app. ([source](https://github.com/meta/facebook-ios-sdk#readme))
- [Social Content Sharing Integrations](https://awesome-repositories.com/f/mobile-development/social-content-sharing-integrations.md) — Lets app users share links, photos, and other content from inside the app out to Facebook through a dedicated sharing module.

### Content Management & Publishing

- [Content Sharing](https://awesome-repositories.com/f/content-management-publishing/community-content-feeds/content-sharing.md) — Provides a sharing module that lets app users post links, photos, and other content directly to a social platform. ([source](https://github.com/meta/facebook-ios-sdk#readme))

### Security & Cryptography

- [Social Login Integrations](https://awesome-repositories.com/f/security-cryptography/oauth-authentication/oauth-provider-integrations/social-login-integrations.md) — Lets people sign into an iOS app with their existing Facebook account, returning an identity and access token.
- [Social Login Integrations](https://awesome-repositories.com/f/security-cryptography/social-login-providers/social-login-integrations.md) — Provides a login module that lets iOS app users sign in with their Facebook account and gives the app authenticated profile access. ([source](https://github.com/meta/facebook-ios-sdk/blob/main/Package.swift))
- [Access Token Management](https://awesome-repositories.com/f/security-cryptography/access-token-management.md) — Stores and reuses access tokens that represent a signed-in person's granted permissions so later platform requests stay authorized. ([source](https://github.com/meta/facebook-ios-sdk/blob/main/FBSDKCoreKit.podspec))

### User Interface & Experience

- [Social Authentication](https://awesome-repositories.com/f/user-interface-experience/buttons/social-authentication.md) — Signs people into an app with their existing Facebook account through a standard login flow, returning an identity and access token. ([source](https://github.com/meta/facebook-ios-sdk#readme))

### Part of an Awesome List

- [Deep Linking](https://awesome-repositories.com/f/awesome-lists/devtools/deep-linking.md) — Resolves incoming app links so a tapped link opens the installed app at the intended screen instead of the home screen. ([source](https://github.com/meta/facebook-ios-sdk/blob/main/README.md))
- [Social Graph API Clients](https://awesome-repositories.com/f/awesome-lists/media/social-graph-api-clients.md) — Includes a client that sends authenticated Graph API requests to read profiles and update data, with token storage and error handling.

### Development Tools & Productivity

- [Social Graph Data Querying](https://awesome-repositories.com/f/development-tools-productivity/integration-metadata-retrievers/media-metadata-retrievers/security-protected-media-retrievers/social-media-content-retrievers/social-graph-data-querying.md) — Sends authenticated Graph API requests to read profiles and update data, with error handling so apps can recover from failed requests. ([source](https://github.com/meta/facebook-ios-sdk#readme))

### DevOps & Infrastructure

- [Swift Package Manager Integrations](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/installation-package-management/swift-package-manager-integrations.md) — Declares each module as its own library in a Swift package manifest so apps add the toolkit through standard dependency tooling.

### Game Development

- [External Game Service Integrations](https://awesome-repositories.com/f/game-development/external-game-service-integrations.md) — Connects iOS games to Facebook social play and other game services through a dedicated gaming module. ([source](https://github.com/meta/facebook-ios-sdk/tree/main/Sources))

### Software Engineering & Architecture

- [Modular Package Systems](https://awesome-repositories.com/f/software-engineering-architecture/modular-package-systems.md) — Divides the toolkit into independent core, login, sharing, gaming, and attribution modules so apps link only the features they need.
