Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Flash Facebook Cookbook
  • Table Of Contents Toc
Flash Facebook Cookbook

Flash Facebook Cookbook

By : James Ford
5 (3)
close
close
Flash Facebook Cookbook

Flash Facebook Cookbook

5 (3)
By: James Ford

Overview of this book

Flash applications are popular and becoming increasingly social. With flash applications for facebook you can tap into a potential audience of half a billion existing users, their connections and affiliations, their uploaded images, posts, comments and more.The Flash Facebook Cookbook is packed with recipes for the Graph API and FQL, used for reading and writing data as well as interacting with Facebook anonymously or on behalf of an authorised Facebook User.The topics covered by the recipes in this Cookbook include working with News feeds, uploading Photos, searching for and plotting Places on a map and much more. The cookbook has recipes ranging from those that work without any authentication with Facebook to those that do, and act on behalf of a user. Packed with recipes that yield practical demonstrations of the Graph API functionality, the Flash Facebook Cookbook is an essential tool for Flash Platform developers.
Table of Contents (18 chapters)
close
close
Flash Facebook Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
10
Checkins and Facebook Places

Adding a Comment to a Graph API object


Comments for a Graph API object are linked to the object through their Graph API connection, so to add a new comment, what we need to do is post an appropriately formatted object to the object's connection URL.

In this recipe, we're going to extend our comments loading application from the previous recipe to include the ability to post a comment on to an existing Graph API object.

Getting ready

Adding objects to the Graph API on a user's behalf requires that our application be authenticated as that user, along with the publish_stream Extended Permission. An easy way to ensure that our application has this Extended Permission is to use the ApplicationBase class that we develop in the recipe Creating the ApplicationBase class from Chapter 11, Bridging the Flash and Application Gap

To test this functionality, we'll build an interface which can be used to create new comments. In addition to the components and layout from our previous recipe, we need to create...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Flash Facebook Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon