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