O'Reilly logo

Xcode 4 Cookbook by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Graph API to read JSON data

In this recipe we will learn about the Graph API and the Facebook Query Language (FQL). The Graph API is the core of Facebook and represents a simple social graph pertaining to people and each of the connections they have, by representing each of the objects in the graph (for example, people, photos, events, and pages) and the connections between them (for example, friend relationships, shared content, and photo tags).

Getting ready

Following on from our previous recipe, we will learn how simple it is to access the Graph API by passing the Graph Path to the request method. This can be achieved by following the steps as outlined.

How to do it...

Within the facebook DEVELOPERS website, you can access the Graph API ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required