Besides using the Graph API for reading data from Facebook, we can also use it to create or delete individual objects in the Facebook ecosystem.
When a user posts something on Facebook, through the traditional web-based interface, they have a selection of different update types. Status updates are just one of those objects—whether the items are labeled Status, Photo, Link, or Video—all of the items are actually of the type Post.
In this recipe, we're going to use ActionScript
to create a status update for the current user, which will be posted on their Profile feed.
The starting point for this recipe should be that of our previous recipe—built on top of the ApplicationBase
class, which manages extended permissions and is already set up to load a Graph API connection containing post objects. The URL that our application should be loading is the "me/feed
" connection.
In addition to the existing List
component, news_feed_list
, add a new TextArea...