In this recipe we will learn the steps involved to download the Facebook iOS SDK.
In order to proceed, we first need to launch our browser and download the Facebook iOS SDK package from the Facebook developer website.
To begin, follow these simple steps as outlined in the given steps:
~/Documents/FacebookSDK
.In this recipe, we looked at the necessary steps required to download the Facebook iOS SDK from the Facebook developer portal. Compared to earlier releases of the Facebook SDK, this SDK is now packaged as a framework and provides you with all of the functionality required to make your applications interact with the Facebook platform. Whenever developing applications with the Version 3.1 and above of the Facebook SDK, it requires Xcode 4.5 and above.
The Facebook SDK framework contains all of the method objects and APIs that are required to enable you to interact with Facebook and send notification requests, or simply post messages to the current person's wall page using the Single Sign On feature of the Facebook iOS SDK.
This lets your users sign in to your app using their Facebook identity. With the initial release of the SDK, the authorize
method always opened an inline dialog box containing UIWebView
in which the authorization UI was shown to the user, and required users to enter their credentials separately for each app they authorized.
In the updated version of the SDK this has been changed and no longer requires users having to re-enter their credentials for every application on the device they want to authorize. Using the Facebook iOS SDK allows you to do the following:
Facebook iOS SDK types |
Description |
---|---|
Prompt users to log in to Facebook and grant permissions to your application. | |
Make API calls |
This allows you to fetch user profile data, as well as any information related to the user's friends using JSON API calls. |
Display dialog |
This allows you to interact with the user via a |