What about connections?

So that's essentially the FQL equivalent of retrieving a single Graph Object. But what's the equivalent to getting a Graph Object's connections?

Understanding the way connections are formed in a database model is a much harder concept to grasp than with the Graph API model. (I wouldn't be surprised if this were one of the main motivations beyond the Graph API.) You have to work backwards, in a sense.

Let's use the idea of an album full of photos as an example. First, imagine we create an empty album called "Michael's Awesome Vacation Photos." It'll look like this, in the database model:

album

aid

owner

name

«automatic»

«my user ID»

Michael's Awesome Vacation Photos

The album table has a cover_pid field, which is set ...

Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.