O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

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

Now that we have a bit of code to work with, it is actually time to take a look at one of the main components of the Facebook platform, the Graph API. To understand the rhetoric behind a lot of the terminology used, it is worth pointing out that a lot of the concepts are based on the discipline of graph theory. Graph theory is a branch of discrete mathematics that studies the mathematics of relationship modeling between objects in a collection. These objects are referred to as nodes (or vertices) with connections between them named edges.

With the Graph API, the nodes are the photos, events, comments, friends, tags, groups, pages: anything to which Facebook gives developers access. Each of these objects has a unique identifier ...

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