Packagecom.facebook.graph.data.ui.stream
Classpublic class Stream



Public Properties
 PropertyDefined by
  action_links : Array
A JSON-encoded array of action link objects, containing the link text and a hyperlink.
Stream
  attachment : StreamAttachment
A JSON-encoded object containing the text of the post, relevant links, a media type (image, mp3, flash), as well as any other key/value pairs you may want to add.
Stream
  message : String
The message the user enters for the post at the time of publication.
Stream
  privacy : StreamPrivacy
An object that defines the privacy setting for a post, video, or album.
Stream
  target_id : String
The ID of the user, Page, group, or event where you are publishing the content.
Stream
  uid : String
The ID of the user or Page publishing the post.
Stream
Public Methods
 MethodDefined by
  
Stream
  
toObject():Object
Stream
Property detail
action_linksproperty
public var action_links:Array

A JSON-encoded array of action link objects, containing the link text and a hyperlink. If you want to use this call to update a user's status, don't pass this parameter. See Updating a User's Status above.

attachmentproperty 
public var attachment:StreamAttachment

A JSON-encoded object containing the text of the post, relevant links, a media type (image, mp3, flash), as well as any other key/value pairs you may want to add. Note: If you want to use this call to update a user's status, don't pass this parameter. See Updating a User's Status above.

messageproperty 
public var message:String

The message the user enters for the post at the time of publication. If the message is a status update (that is, you're not including an attachment or an action link), it can contain up to 420 characters. Otherwise, if the post contains an attachment or action link, the message can contain up to 10,000 characters.

privacyproperty 
public var privacy:StreamPrivacy

An object that defines the privacy setting for a post, video, or album. Only the user can specify the privacy settings for the post.

target_idproperty 
public var target_id:String

The ID of the user, Page, group, or event where you are publishing the content. If you specify a target_id, the post appears on the Wall of the target profile, Page, group, or event, not on the Wall of the user who published the post. This mimics the action of posting on a friend's Wall on Facebook itself. Note: If you specify a Page ID as the uid, you cannot specify a target_id. Pages cannot write on other users' Walls. Note: You cannot publish to an application profile page's Wall.

uidproperty 
public var uid:String

The ID of the user or Page publishing the post. If this parameter is not specified, then it defaults to the session user. If you want to publish as page, you should use the 'enable_profile_selector' option with FB.login. This option enables the profile selector on the permission dialog. Note: If you specify a Page ID as the uid, you cannot specify a target_id. Pages cannot write on other users' Walls.

Constructor detail
Stream()constructor
public function Stream()
Method detail
toObject()method
public function toObject():Object

Returns
Object