Flash Facebook Cookbook

Over 60 recipes for integrating the Flash applications with the Graph API and Facebook.

Flash Facebook Cookbook

James Ford

Over 60 recipes for integrating the Flash applications with the Graph API and Facebook.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781849690720
Paperback388 pages

Book Description

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

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.

Authors

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

Book Details

ISBN 139781849690720
Paperback388 pages
Read More

Read More Reviews

Recommended for You

Facebook Graph API Development with Flash Book Cover
Facebook Graph API Development with Flash
$ 26.99
$ 18.90
Away3D 3.6 Essentials Book Cover
Away3D 3.6 Essentials
$ 29.99
$ 21.00
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
HTML5 Games Development by Example: Beginner’s Guide Book Cover
HTML5 Games Development by Example: Beginner’s Guide
$ 26.99
$ 18.90
Job Interview Success for Introverts Book Cover
Job Interview Success for Introverts
$ 9.99
$ 7.00
HTML5 and CSS3 Transition, Transformation, and Animation Book Cover
HTML5 and CSS3 Transition, Transformation, and Animation
$ 20.99
$ 14.70