Chapter 9. Creating a Social Networking App with the Facebook iOS SDK

In this chapter, we will cover:

  • Downloading the Facebook iOS SDK
  • Registering your iOS applications with Facebook
  • Building a simple social networking application
  • Adding the Facebook iOS SDK to your project
  • Implementing the Single Sign On (SSO) feature
  • Requesting additional Facebook permissions
  • Implementing and using the Graph API to read JSON data
  • Integrating with the Facebook social channels
  • Handling Facebook errors within your application

Introduction

On May 24, 2007, Mark Zuckerberg announced the Facebook platform, a development platform for programmers to create social applications within Facebook.

When Facebook launched the development platform, numerous applications had been built, and already had millions of users playing them. The social networking application utilizes the Facebook collection of APIs that enables you to connect to Facebook and send application request notifications, so that you can add them to your list of friends.

In this chapter, we will take a look at how to download the Facebook iOS SDK and register your iOS application, so that it can be used with Facebook. We will then start by creating a simple application and look at how we can add the Facebook iOS SDK into our project, so that the user can sign in to their Facebook account in order to send notification requests as well as submit news feeds directly to their home page wall.

Finally, we will look at how to implement the Single Sign On (SSO) feature of the Facebook iOS SDK that allows the user to sign in to your application using their Facebook identity.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset