Connections are what Facebook is all about—the interlinking and associations between different objects. In the previous recipes, we have looked at loading individual objects and their properties, but a connection is an entirely different beast.
A connection is an Array of Graph API objects, and is used to represent News Feeds, Photo Albums, Event Attendees, Links, Comments, and much more. Each type of Graph API object has its own different set of connections, ranging from a Comment object, with its single /likes
connection to a User object, with multiple connections, detailing just about every piece of data Facebook stores about its users (as listed in the following table).
There are two main routes for discovering a Graph API object's connections:
1. Comprehensive details of the connections available for a particular type of Graph API object are available as part of the Developer Documentation, from the URL: http://developers.facebook.com/docs/reference/api/.
2...