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

Introduction


In this chapter, we're going to look at the location-oriented features of the Graph API, namely Places and Checkins.

These two elements are intrinsically linked—Places are objects in the Graph API which link to real-world geolocation coordinates, existing as locations where a user can register their visit, for a fleeting moment, as a Checkin.

Checkins are different than Events, in that they have much more momentary significance—there's not the same level of forward-planning and formal attendance with a Checkin as there is with an Event. Likewise, Places are unusual in that they don't really have their own fixed object type in the Graph API. They exist, but as sub-objects of Checkin objects.

Checkins to Facebook Places are made primarily through mobile or location-aware devices, such as, but not exclusively, mobile phones or tablet computers. With the Facebook ActionScript 3 SDK, we are able to retrieve and create Checkins on the user's behalf.

With the Graph API methods available...