Time for action – publishing rich posts
To avoid confusion, I'll use the term rich post to refer to a Wall post that uses more than just plain text. Besides message
, there are eight additional parameters we can pass to the URLVariables
object:
picture
link
name
caption
description
source
actions
privacy
We'll concentrate on message
, picture
, link
, name
, caption
, and description
first, and find out what they do by publishing a rich post that uses them.
The Visualizer can be configured to display a window with input fields for all six of these parameters, instead of just message
. To do so, find this line in CustomGraphContainerController.as
:
this._publishingCapability = PublishingCapabilities.BASIC;
…and replace it with this:
this._publishingCapability = PublishingCapabilities.COMPLETE; ...
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.