Accessibility

Samples

Display information on logged-in user

This sample application retrieves the name of the currently logged in user from Facebook and displays it in a Label control.

 Logged-in user info


Display a list of Facebook photo albums

This sample application lists the names of all the Facebook photo albums a user has in a DataGrid control.

Note: For you to experience this sample, you must have photo albums in your Facebook account.

 Facebook photo album list


Browse thumbnails of Facebook photos

This sample application allows you to browse thumbnails of your Facebook photos. Clicking on an album will display a TileList of thumbnails and clicking on one of those thumbnails will show a full size image.

Note: For you to experience this sample, you must have photo albums in your Facebook account.

 Thumbnails of Facebook photos


Display a list of Facebook events

This sample application lists all of your Facebook events with a custom item renderer displaying the photo, name, date, and location of each event.

Note: For you to experience this sample, you must have events listed in your Facebook account.

 List of Facebook events


Integrate Facebook Connect into your website

This sample shows how to integrate Facebook Connect into your website. This demo pulls an RSS feed (currently the Adobe blogs feed) and allows authenticated users to post a favorite blog entry to a friend's Wall, granted their friend has allowed the appropriate permissions. It also shows how to make JavaScript calls from Flash, by pulling down 100 of your friends using JSSession.

 Facebook Connect integration


Upload photos to Facebook

This sample allows users to drag and drop photos from their local file systems to any of their Facebook albums. This application illustrates the ease of running a batch call, allowing developers to submit mutilple API calls to Facebook at once. It also demonstrates how to list your albums and upload your photos to a specific album.

 Photo upload


Upload a webcam picture to Facebook

This sample allows users to take a picture with their webcam and upload it directly to a photo album. The application demonstrates the basic authentication process, granting application permissions, and uploading pictures to the Facebook servers.

 Webcam picture


Explore the Open Stream API demo application

The Stream API demo is a fully functional AIR application that demonstrates how to use different Facebook APIs to mimic your home page from Facebook. It takes advantage of the new Stream API to list the logged-in users and the most recent posts on Facebook, and lets you post and delete comments to those posts. Other functionality includes liking and un-liking posts as well as using the Notifications API to display the users' current pokes, unread message count, number of new notifications, and new friend requests waiting for you on the Facebook site.

Note: To use this demo, make sure you are up to date with the ActionScript 3.0 Client Library for Facebook Platform API, which can be found on Google Code.

 Stream demo