Component SDKs of the Facebook SDK for iOS

The Facebook SDK for iOS consists of the following component SDKs:

If you don't need the functionality of the full iOS SDK, you can save space by using only the SDK(s) you need to support the Facebook products you want to use in your app.

Note that when you use one of the Facebook SDKs, events in your app are automatically logged and collected for Facebook Analytics unless you disable automatic event logging. For details about what information is collected and how to disable automatic event logging, see Automatic App Event Logging.


For more information about using CocoaPods with your app, see the CocoaPods Getting Started Guide. Make sure you have the CocoaPods gem installed on your machine before attempting to install any Facebook pods.

In your Podfile, add the pod commands for the specific pods you are using in your app. You do not need to include all of commands if you are not using all the pods.

pod 'FBSDKCoreKit'  
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'

Navigate to your project folder in a terminal window, and run the following command:

pod install

Configure your Info.plist with your FacebookAppID, FacebookDisplayName, and the necessary CFBundleURLSchemes:

<plist version="1.0">


You can also download the entire iOS SDK.

See facebook/facebook-ios-sdk on GitHub.