In this recipe, we're going to build an interface which allows us to load the Album's information for a User or a User's friends, and then load the Photos within that Album, displaying the content as thumbnails in a Flex framework List component.
When completed, our application should look a little like this:
We're going to be loading information about the current user and displaying Photo and Album information from the user and their friends, so we will need to include authentication code which ensures that our application has the necessary user_photos
and friend_photos
Extended Permissions. To do that we can build our application on top of the ApplicationBase
class detailed in the recipe Creating the ApplicationBase class from Chapter 11, Bridging the Flash and Application Gap and include the following function:
override protected function get requiredPermissions():Array { return [ExtendedPermission.USER_PHOTOS, ExtendedPermission...