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

Using the search capabilities of the Graph API


In addition to the 'natural discovery' method of locating content in the Facebook Platform, the major discovery route for content is through the search functionality of the platform. The search capabilities available to us as developers through the Graph API are almost, if not exactly, the same as the search capabilities available to the user through the Facebook.com website.

As detailed in the online Facebook Developer Documentation, the available object types for searching are:

  • Publicly-available posts, such as those by a Facebook User, Application, Page, or Organization in their Profile Feed

  • People (Facebook Users)

  • Pages (Businesses, Organizations, and so on)

  • Facebook Events

  • Facebook Groups

  • Facebook Places, which can be retrieved by location as well as name

  • Facebook User Check-ins

  • News Feeds for a specific Facebook User

As you might expect, the search capabilities are flexible, allowing us to make searches by name and by type, and in the case of Facebook...