Flash Facebook Cookbook
|Also available on:|
- 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.
Book DetailsLanguage : English
Paperback : 388 pages [ 235mm x 191mm ]
Release Date : August 2011
ISBN : 1849690723
ISBN 13 : 9781849690720
Author(s) : James Ford
Topics and Technologies : All Books, Web Development, Flash, Cookbooks
Table of ContentsPreface
Chapter 1: Getting Started with Flash and Facebook
Chapter 2: Authenticating with Facebook
Chapter 3: Working with Facebook Permissions
Chapter 4: Reading and Writing Data with the Graph API
Chapter 5: Loading Data with FQL
Chapter 6: Facebook News Feeds and Status Updates
Chapter 7: Comments and "Like this"
Chapter 8: Working with Photos, Albums, and Tags
Chapter 9: Working with Groups and Events
Chapter 10: Checkins and Facebook Places
Chapter 11: Bridging the Flash and Application Gap
- Chapter 1: Getting Started with Flash and Facebook
- 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
- Authentication with the Web SDK, for Flash Player applications
- Authentication with the Desktop SDK, for AIR applications
- Logging out of Facebook
- Retrieving information about the current session and active Facebook user
- Chapter 3: Working with Facebook Permissions
- 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
- 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
- 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
- Loading a user's status updates
- Creating a status update with ActionScript
- Posting a link with ActionScript
- Deleting a status update with ActionScript
- Adding custom actions to Facebook posts
- Chapter 7: Comments and "Like this"
- Loading Comments for a Graph API object
- Adding a Comment to a Graph API object
- Deleting a Comment
- Retrieving Likes for a Graph API object
- Adding a "Like" to a Graph API object
- Retrieving a "Like" count for a specified URL
- Chapter 8: Working with Photos, Albums, and Tags
- 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
- Retrieving Facebook Group information
- Retrieving Group membership information
- Retrieving Facebook Events information
- Plotting Events on a Map
- Loading Event RSVP statuses
- Changing current user's RSVP status
- Creating an Event on the user's behalf
- Inviting friends to an Event
- Chapter 10: Checkins and Facebook Places
- Retrieving Checkin information for the current user and their friends
- Finding Facebook Places near a specific location
- Integrating with HTML5 geolocation capabilities, Maps, and Facebook Places
- Creating new Checkins at an existing Facebook Place
- Chapter 11: Bridging the Flash and Application Gap
- Launching Facebook UI dialogs from ActionScript 3
- Imitating the Facebook.com UI in Flex
- Displaying a Facebook-style loading indicator
- Creating the ApplicationBase class
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
What you will learn from this book
- 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.
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.
Written in a cookbook style, this book offers solutions using a recipe-based approach. Each recipe contains step-by-step instructions followed by an analysis of what was done in each task and other useful information.
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.