Book Image

Flash Facebook Cookbook

By : James Ford
Book Image

Flash Facebook Cookbook

By: James Ford

Overview of this book

Flash applications are popular and becoming increasingly social. With flash applications for facebook you can tap into a potential audience of half a billion existing users, their connections and affiliations, their uploaded images, posts, comments and more.The Flash Facebook Cookbook is packed with recipes for the Graph API and FQL, used for reading and writing data as well as interacting with Facebook anonymously or on behalf of an authorised Facebook User.The topics covered by the recipes in this Cookbook include working with News feeds, uploading Photos, searching for and plotting Places on a map and much more. The cookbook has recipes ranging from those that work without any authentication with Facebook to those that do, and act on behalf of a user. Packed with recipes that yield practical demonstrations of the Graph API functionality, the Flash Facebook Cookbook is an essential tool for Flash Platform developers.
Table of Contents (18 chapters)
Flash Facebook Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
10
Checkins and Facebook Places

Loading Graph API connections


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. 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. 2...