Besides the text-based communication methods in Facebook, one of the major connections between users is the Photos they can upload and view. Using the Facebook ActionScript 3 SDK, we are able to access information about publicly-accessible Albums and Photos, and of course the Tags, Comments, and Likes associated with all of those objects.
With our application authorized as a user, granted the required Extended Permissions and interacting with the Graph API on their behalf, we are able to load information about the Photos and Albums that the current user—or the current user's friends—have created. When it comes to creating a Photo on behalf of the user, we are able to upload both existing image files and generated images, thanks to the image data capabilities of the Flash Platform.
In this chapter, we're going to cover some of the image-related capabilities of Facebook and the Graph API, specifically loading the Albums and Photos information of the current user and their friends...