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

Retrieving Facebook Group information


In this recipe, we're going to create an interface which can search for publicly-accessible Facebook Groups by name and then display their basic information.

As the groups we're going to be loading are publicly-available, we won't need to have our application authenticate with the APIs, so the base class for this recipe can be the normal Flex Application tag.

At the end of this recipe, we will be able to search for publicly-accessible Facebook Groups, and present the results of that search in an interface similar to this:

Getting ready

Our first step is to construct the user interface. A wireframe outline of our application and the placement of its constituent components should look like this:

Create this basic user interface in MXML, using a TextInput component (search_inpt), a Button component (search_btn), a List component (search_results_list), an Image component (group_picture), and five RichText components (group_id, group_name, group_description...