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
About the Author
About the Reviewers
Checkins and Facebook Places

Pre-emptively requesting additional Extended Permissions

Another approach to managing Extended Permissions, that does not require requesting all of the Extended Permissions upfront, is to combine it with the FQL request from our Checking for existing Extended Permissions recipe—check for any missing permissions, request them, and then go on to attempt the API request.

In this recipe, we'll create an interface which we can use to authenticate with Facebook requiring no additional Extended Permissions. Our application will still authenticate with Facebook when it starts up, giving it basic access to the user's information, but it's not until we need to start making API requests that we need to check for those permissions.

Getting ready

For this example, the starting point of our application should be that of our earlier recipe, Authentication with the Web SDK, for Flash Player applications, giving us a simple user interface and ActionScript code to log in and authenticate automatically, although...