Free Sample
+ Collection
Code Files

Flash Facebook Cookbook

Cookbook
James Ford

Over 60 recipes for integrating the Flash applications with the Graph API and Facebook.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849690720
Paperback388 pages

About This Book

  • Work with the key Graph API objects and their social connections, using the Facebook ActionScript 3 SDK.
  • Create new Checkins at Facebook Places and plot existing Checkins and Facebook Places on Flex mapping components.
  • Upload image files or generated images to Facebook.
  • Packed full of solutions using a recipe-based approach.

Who This Book Is For

This Cookbook is targeted towards those with at least a basic understanding of the Flash Builder IDE and the Flex framework. No prior knowledge of the Facebook APIs is assumed or required. If you want to start building Flash Facebook apps quickly and effectively this is the book for you. 

Table of Contents

Chapter 1: Getting Started with Flash and Facebook
Introduction
Setting up a new application on Facebook
Downloading the Facebook ActionScript 3 SDK
Including the Facebook ActionScript 3 SDK in a Flash Builder project
Including the Facebook ActionScript 3 SDK as a Flash Builder library project
Preparing your Flash Player application's HTML template for Facebook integration
Chapter 2: Authenticating with Facebook
Introduction
Authentication with the Web SDK, for Flash Player applications
Authentication with the Desktop SDK, for AIR applications
Chapter 3: Working with Facebook Permissions
Introduction
Requesting permissions at login
Checking for existing Extended Permissions
Requesting additional Extended Permissions, following a failed API request
Pre-emptively requesting additional Extended Permissions
Chapter 4: Reading and Writing Data with the Graph API
Introduction
Building a 'Test console' for the Graph API
Loading a Graph API object from Facebook
Loading specific data fields for a Graph API object
Loading Graph API connections
Loading multiple Graph API objects, in a single request
Limiting request lengths and paging results
Filtering requests to a specific time period
Loading a Facebook profile image
Using the search capabilities of the Graph API
Creating, editing, and deleting Graph API objects
Chapter 5: Loading Data with FQL
Introduction
Loading data with FQL
Using subqueries in FQL
Using logical operators in FQL requests
Loading large data sets with FQL multiquery
Cross-comparing data sets to find overlapping results
Sorting FQL results
Limiting and paging FQL results
Searching for text strings in FQL
Chapter 6: Facebook News Feeds and Status Updates
Introduction
Loading a user's status updates
Creating a status update with ActionScript
Chapter 7: Comments and "Like this"
Introduction
Loading Comments for a Graph API object
Adding a Comment to a Graph API object
Deleting a Comment
Chapter 8: Working with Photos, Albums, and Tags
Introduction
Retrieving Photo and Album information from Facebook
Loading and displaying Photo Tags
Creating an Album with the Graph API
Uploading Photos to Facebook
Chapter 9: Working with Groups and Events
Introduction
Retrieving Facebook Group information
Chapter 10: Checkins and Facebook Places
Introduction
Chapter 11: Bridging the Flash and Application Gap
Introduction
Launching Facebook UI dialogs from ActionScript 3

What You Will Learn

  • Plot user Checkins on a map component, and publish new Checkins on behalf of a user.
  • Authenticate with Facebook on behalf of a user.
  • Manage and request additional data read or publishing permissions from Facebook.
  • Use the search capabilities of the Graph API to retrieve specific information.
  • Request specific information from Facebook using SQL-like FQL queries.
  • Retrieve and create cross-links between different objects in the Graph API.
  • Create new Events, invite users and retrieve and modify RSVP information for authenticated users.
  • Integration with Facebook and AJAX sharing dialogs.

In Detail

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.

Authors

Read More

Recommended for You

Flash Game Development by Example
$ 21.60
Flash Multiplayer Virtual Worlds
$ 29.99
Flash 10 Multiplayer Game Essentials
$ 26.99
Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner’s Guide
$ 29.99
Flash Development for Android Cookbook
$ 29.99