Publishing other kinds of Graph Object

All the types of Graph Object that can be created can be created with the same basic steps as a Wall Post:

  • Use POST HTTP request method
  • Set parameters with a URLVariables object
  • Make sure that you have an access token and the required permissions

The Graph List Renderer's Publish button always creates a window with inputs that are appropriate to the Graph List being rendered, and this in turn always passes its values to the publish() function of CustomGraphContainerController, inside a PublishObject instance, so you can experiment with the different types.

The PublishObject also includes the type of connection to which the user is attempting to publish, in a property called connectionType. You can use this to ...

Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.