Swiftpack.co - Package - facebook/facebook-ios-sdk

Facebook SDK for iOS

Platforms circleci

CocoaPods Carthage compatible

This open-source library allows you to integrate Facebook into your iOS app.

Learn more about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more at https://developers.facebook.com/docs/ios

Please take a moment and subscribe to releases so that you can be notified about new features, deprecations, and critical fixes. To see information about the latest release, consult our changelog.


Swift Package Manager (available Xcode 11.2 and forward)

  1. In Xcode, select File > Swift Packages > Add Package Dependency.
  2. Follow the prompts using the URL for this repository and a minimum semantic version of v5.10.0
  3. Check-out the tutorials available online at: https://developers.facebook.com/docs/ios/getting-started
  4. Start coding! Visit https://developers.facebook.com/docs/ios for tutorials and reference documentation.

Note for Swift Package Manager Users:

If you explicitly DO NOT want to include Swift, import FBSDKCoreKit FBSDKLoginKit and FBSDKShareKit

For projects that include Swift, use FacebookCore, FacebookLogin, and FacebookShare


  1. Add the following to your Podfile:

     pod 'FBSDKCoreKit'
     pod 'FBSDKLoginKit'
     pod 'FBSDKShareKit'
  2. Test your install by adding import FBSDKCoreKit to your AppDelegate

  3. Check-out the tutorials available online at: https://developers.facebook.com/docs/ios/getting-started

  4. Start coding! Visit https://developers.facebook.com/docs/ios for tutorials and reference documentation.



Please report bugs or issues to our designated developer support team -- https://developers.facebook.com/support/bugs/ -- as this will help us resolve them more quickly.

You can also visit our Facebook Developer Community Forum, join the Facebook Developers Group on Facebook, ask questions on Stack Overflow, or open an issue in this repository.


See the LICENSE file.


See the SECURITY POLICY for more info on our bug bounty program.


  • By enabling Facebook integrations, including through this SDK, you can share information with Facebook, including information about people‚Äôs use of your app. Facebook will use information received in accordance with our Data Use Policy, including to provide you with insights about the effectiveness of your ads and the use of your app. These integrations also enable us and our partners to serve ads on and off Facebook.
  • You may limit your sharing of information with us by updating the Insights control in the developer tool https://developers.facebook.com/apps/{app_id}/settings/advanced.
  • If you use a Facebook integration, including to share information with us, you agree and confirm that you have provided appropriate and sufficiently prominent notice to and obtained the appropriate consent from your users regarding such collection, use, and disclosure (including, at a minimum, through your privacy policy). You further agree that you will not share information with us about children under the age of 13.
  • You agree to comply with all applicable laws and regulations and also agree to our Terms https://www.facebook.com/policies/, including our Platform Policies https://developers.facebook.com/policy/.and Advertising Guidelines, as applicable https://www.facebook.com/ad_guidelines.php.

By using the Facebook SDK for iOS you agree to these terms.


Stars: 6561


Used By

Total: 0


Facebook SDK v8.0.0 - 2020-09-29 00:09:30

Consult Changelog

Facebook SDK v7.1.1 - 2020-07-03 20:13:35

Consult Changelog

Facebook SDK v7.1.0 - 2020-06-23 15:55:30

Consult Changelog

Facebook SDK v7.0.1 - 2020-06-09 23:25:13

Consult Changelog

Facebook SDK v7.0.0 - 2020-05-06 23:12:04

Consult Changelog

Facebook SDK v6.5.2 - 2020-04-30 15:33:19

Facebook SDK v6.5.1 - 2020-04-24 04:06:12

Facebook SDK v6.5.0 - 2020-04-21 00:07:04

Facebook SDK v6.4.0 - 2020-04-15 19:49:08

Consult Changelog

Facebook SDK v6.3.0 - 2020-03-26 19:44:17

Facebook SDK v6.2.0 - 2020-03-09 23:04:58

Facebook SDK v6.1.0 - 2020-02-14 18:53:00

Consult Changelog

Facebook SDK v6.0.0 - 2020-02-05 16:46:38

Consult Changelog v6.0.0

Facebook SDK v5.15.1 - 2020-01-29 18:40:46

Consult Changelog v5.15.1

Facebook SDK v5.15.0 - 2020-01-22 02:36:56

Consult Changelog v5.15.0

Facebook SDK v5.14.0 - 2020-01-14 21:03:13

Consult Changelog v5.14.0

Facebook SDK v5.13.1 - 2019-12-17 01:38:25

Consult Changelog v5.13.1

Facebook SDK v5.13.0 - 2019-12-13 00:22:18

Consult Changelog v5.13.0

Facebook SDK v5.12.0 - 2019-12-04 20:35:25

Consult Changelog v5.12.0

Facebook SDK v5.11.1 - 2019-11-19 19:01:07

Consult Changelog v5.11.1

Facebook SDK v5.11.0 - 2019-11-15 08:31:56

Note for Swift Package Manager users: There is currently an issue where users must manually add the Accelerate framework to their targets under the the "Frameworks, Libraries, and Embedded Content" section of the "General" tab.

Consult Changelog v5.11.0

Facebook SDK v5.10.1 - 2019-11-13 15:18:10

Consult Changelog v5.10.1

Facebook SDK v5.10.0 - 2019-11-06 19:14:18

Consult Changelog v5.10.0

Facebook SDK v5.9.0 - 2019-10-29 18:42:08

Consult Changelog v5.9.0

Facebook SDK v5.8.0 - 2019-10-09 03:07:29

Consult Changelog v5.8.0

Facebook SDK v5.7.0 - 2019-10-07 20:41:26

Consult Changelog v5.7.0

Facebook SDK v5.6.0 - 2019-09-14 01:14:12

Consult Changelog v5.6.0

Facebook SDK v5.5.0 - 2019-08-31 03:57:47

Consult Changelog v5.5.0

Facebook SDK v5.4.1 - 2019-08-21 23:48:15

Consult Changelog v5.4.1

Facebook SDK v5.4.0 - 2019-08-16 05:05:39

Consult Changelog v5.4.0