In this first recipe, we're going to load Status message updates from Facebook, using the Graph API object connection. There are several Graph API connections which can return Status updates, links, photos, or videos.
For a Facebook user, these connections are:
/PROFILE_ID/home
/PROFILE_ID/feed
/PROFILE_ID/posts
/PROFILE_ID/statuses
For a Facebook page or Facebook application, the connections are:
/PAGE_ID/feed
/PAGE_ID/posts
/PAGE_ID/statuses
And for a Facebook group, there is:
/GROUP_ID/feed
All of these connections return an array of Graph API post objects, which can be transformed into their equivalent ActionScript 3
value object class, FacebookPost
.