1. Login

2. Set up Your Development Environment

Use the latest Facebook SDK for iOS to keep your app compatible with the current iOS version.

If you link to the SDKs with CocoaPods, you must update your pods for the SDKs your app uses and recompile your app. You can also download the latest version of the Facebook iOS SDK, integrate it into your app, and recompile.

Set up your development environment before using Facebook Login for iOS.

In the dialog that appears, keep the Copy items if needed option selected, and click Finish.

When you use the Facebook SDK, some 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.