PacktLib: Flash Facebook Cookbook

Flash Facebook Cookbook

Credits

About the Author

Acknowledgement

About the Reviewers

www.PacktPub.com

Preface

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

Authenticating with Facebook

Introduction

A´╗┐uthentication with the Web SDK, for Flash Player applications

Authentication with the Desktop SDK, for AIR applications

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

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

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

Facebook News Feeds and Status Updates

Introduction

Loading a user's status updates

Creating a status update with ActionScript

Comments and "Like this"

Introduction

Loading Comments for a Graph API object

Adding a Comment to a Graph API object

Deleting a Comment

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

Working with Groups and Events

Introduction

Retrieving Facebook Group information

Checkins and Facebook Places

Introduction

Bridging the Flash and Application Gap

Introduction

Launching Facebook UI dialogs from ActionScript 3