Implementing the Single Sign On (SSO) feature
In this recipe, we will learn how to implement the Single Sign On feature of the Facebook iOS SDK that will enable our application to communicate with Facebook.
The process of using SSO works by redirecting the user to the Facebook iOS application on their device, and presenting them with an authentication dialog box, showing only those permissions that your application has been configured to use.
Following on from our previous recipe, ensure that our
SocialNetworkApp project file is open.
How to do it...
To begin, follow the simple steps as outlined in the given order:
- Open the
AppDelegate.hinterfacefile from the Project Navigator.
- Next, modify the interface file as shown by the highlighted ...