Cover image for Flash Facebook Cookbook.
Flash Facebook Cookbook.
Title:
Flash Facebook Cookbook.
Author:
Ford, James.
ISBN:
9781849690737
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (423 pages)
Contents:
Flash Facebook Cookbook -- Table of Contents -- Flash Facebook Cookbook -- Credits -- About the Author -- Acknowledgement -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code for this book -- Errata -- Piracy -- Questions -- 1. Getting Started with Flash and Facebook -- Introduction -- Setting up a new application on Facebook -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Downloading the Facebook ActionScript 3 SDK -- Getting ready -- How to do it... -- How it works... -- There's more -- The Flash Player version, or the AIR version of the SDK? -- What if I want to build my own Facebook library? -- See also -- Including the Facebook ActionScript 3 SDK in a Flash Builder project -- How to do it... -- How it works... -- There's more... -- Linking source files to an included SWC -- See also -- Including the Facebook ActionScript 3 SDK as a Flash Builder library project -- How to do it... -- How it works... -- There's more... -- See also -- Preparing your Flash Player application's HTML template for Facebook integration -- Getting ready -- How to do it... -- How it works... -- There's more -- Testing and debugging our Flash Builder project locally -- Where can users access our Facebook application from? -- Setting up a Canvas or Tab application on Facebook.com -- Working without the JavaScript SDK? -- See also -- 2. Authenticating with Facebook -- Introduction -- It's all about Access tokens -- Authentication with the Web SDK, for Flash Player applications -- Getting ready -- How to do it... -- How it works... -- There's more...

Automatic authentication with Facebook -- When should we launch the Login Dialog? -- The "options" parameter -- See also -- Authentication with the Desktop SDK, for AIR applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- How does the pop-up window work? -- See also -- Logging out of Facebook -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Retrieving information about the current session and active Facebook user -- Getting ready -- How to do it... -- How it works... -- There's more... -- Problems with the available permissions or the user object? -- See also -- Reacting to external session changes and JavaScript events -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other events from Facebook -- Is your user connected, not connected, or unknown? -- See also -- 3. Working with Facebook Permissions -- Introduction -- Requesting permissions at login -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using the ExtendedPermission class, instead of using hardcoded permission names -- See also -- Checking for existing Extended Permissions -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using the ExtendedPermission class constants to generate our FQL request -- What about FacebookSession.availablePermissions? -- See also -- Requesting additional Extended Permissions, following a failed API request -- Getting ready -- How to do it... -- How it works... -- There's more... -- Checking if a failed API request is caused by (a lack of) Extended Permissions -- See also -- Pre-emptively requesting additional Extended Permissions -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 4. Reading and Writing Data with the Graph API -- Introduction.

Building a 'Test console' for the Graph API -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using an animation to indicate load progress -- Getting a human-readable JSON string from the API -- See also -- Loading a Graph API object from Facebook -- Getting ready -- How to do it... -- How it works... -- There's more... -- Converting raw results into ActionScript class instances -- Detecting errors in Graph API requests -- Usernames and Vanity URLs -- Using the 'me' shortcut to reference the current user -- /[OBJECT_ID] vs. [OBJECT_ID] in requests -- See also -- Loading specific data fields for a Graph API object -- Getting ready -- How to do it... -- How it works... -- There's more... -- The undocumented fringes of the Graph API -- See also -- Loading Graph API connections -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling responses with mixed results content types -- See also -- Loading multiple Graph API objects, in a single request -- How to do it... -- How it works... -- There's more... -- See also -- Limiting request lengths and paging results -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Filtering requests to a specific time period -- How to do it... -- How it works... -- There's more... -- See also -- Loading a Facebook profile image -- How to do it... -- How it works... -- There's more... -- Getting image URLs from Graph API objects -- GetImageURL and the 'me' shortcut -- See also -- Using the search capabilities of the Graph API -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating, editing, and deleting Graph API objects -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 5. Loading Data with FQL -- Introduction -- Loading data with FQL -- Getting ready.

How to do it... -- How it works... -- There's more... -- Formatting (pretty-printing) our FQL requests -- Using the FQL name classes to construct requests -- Using me() to reference the current user -- See also -- Using subqueries in FQL -- How to do it... -- How it works... -- There's more... -- Loading the current user's family -- Loading a list of users that have been tagged in photos, alongside the current user -- Advanced data types in FQL -- See also -- Using logical operators in FQL requests -- Getting ready -- How to do it... -- How it works... -- There's more... -- Removing the current user from the results -- Excluding results with 'NOT IN'? -- See also -- Loading large data sets with FQL multiquery -- Getting ready -- How to do it... -- How it works... -- There's more... -- What's faster? -- See also -- Cross-comparing data sets to find overlapping results -- Getting ready -- How to do it... -- How it works... -- There's more... -- Why use server-side comparisons? -- See also -- Sorting FQL results -- Getting ready -- How to do it... -- How it works... -- There's more... -- Case-insensitive sorting -- Sorting results with advanced objects -- See also -- Limiting and paging FQL results -- Getting ready -- How to do it... -- How it works... -- There's more... -- Should we add limits to FQL requests? -- See also -- Searching for text strings in FQL -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 6. Facebook News Feeds and Status Updates -- Introduction -- Loading a user's status updates -- Getting ready -- How to do it... -- How it works... -- There's more... -- Displaying the "time since" on status updates -- Extracting and highlighting links in status updates -- See also -- Creating a status update with ActionScript -- Getting ready -- How to do it... -- How it works... -- There's more...

Posting status updates to other user's walls. -- Privacy settings and status updates-who can see your updates? -- See also -- Posting a link with ActionScript -- Getting ready -- How to do it... -- How it works... -- There's more... -- Publishing internal links to a Canvas application -- See also -- Deleting a status update with ActionScript -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adding custom actions to Facebook posts -- How to do it... -- How it works... -- There's more... -- Working with query strings and responding to custom actions -- See also -- 7. Comments and "Like this" -- Introduction -- Loading Comments for a Graph API object -- Getting ready -- How to do it... -- How it works... -- There's more... -- What type of objects can have Comments? -- See also -- Adding a Comment to a Graph API object -- Getting ready -- How to do it... -- How it works... -- There's more... -- Comments and privacy settings -- See also -- Deleting a Comment -- Getting ready -- How to do it... -- How it works... -- There's more... -- Knowing which comments can be deleted by the current user -- See also -- Retrieving Likes for a Graph API object -- Getting ready -- How to do it... -- How it works... -- There's more... -- No Likes? Make sure you're using the object ID -- See also -- Adding a "Like" to a Graph API object -- Getting ready -- How to do it... -- How it works... -- There's more... -- Removing a Like from Graph API object -- See also -- Retrieving a "Like" count for a specified URL -- How to do it... -- Retrieving URL statistics with the Graph API -- Retrieving URL statistics with FQL -- How it works... -- There's more... -- Requesting statistics for the current page URL -- Requesting statistics for multiple URLs -- Ensuring correct URL encoding for the Graph API -- See also.

8. Working with Photos, Albums, and Tags.
Abstract:
Over 100 recipes for integrating the Flash Platform applications with the Graph API and Facebook.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: