Packagecom.facebook.graph.data.api.post
Classpublic class FacebookPost
InheritanceFacebookPost Inheritance AbstractFacebookGraphObject

An individual entry in a profile's feed.

See also

http://developers.facebook.com/docs/reference/api/post


Public Properties
 PropertyDefined by
  actions : Array
A list of available actions on the post (including commenting, liking, and an optional app-specified action).
FacebookPost
  attribution : String
A string indicating which application was used to create this post.
FacebookPost
  caption : String
The caption of the link (appears beneath the link name).
FacebookPost
  created_time : Date
The time the post was initially published.
FacebookPost
  description : String
A description of the link (appears beneath the link caption).
FacebookPost
  from : FacebookUser
Information about the user who posted the message.
FacebookPost
  icon : String
A link to an icon representing the type of this post.
FacebookPost
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  likes : Number
The number of likes on this post.
FacebookPost
  link : String
The link attached to this post.
FacebookPost
  message : String
The message.
FacebookPost
  name : String
The name of the link.
FacebookPost
  picture : String
If available, a link to the picture included with this post.
FacebookPost
  privacy : FacebookPostPrivacy
The privacy settings of the Post.
FacebookPost
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
  source : String
A URL to a Flash movie or video file to be embedded within the post.
FacebookPost
  targeting : Object
Location and language restrictions for Page posts only.
FacebookPost
  to : Object
Profiles mentioned or targeted in this post.
FacebookPost
  type : String
The type of this post.
FacebookPost
  updated_time : Date
The time of the last comment on this post.
FacebookPost
Public Methods
 MethodDefined by
  
Creates a new FacebookPost.
FacebookPost
  
fromJSON(result:Object):FacebookPost
[static] Populates and returns a new FacebookPost from a decoded JSON object.
FacebookPost
  
toString():String
Provides the string value of the graph object.
FacebookPost
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookPost
Property detail
actionsproperty
public var actions:Array

A list of available actions on the post (including commenting, liking, and an optional app-specified action).

attributionproperty 
public var attribution:String

A string indicating which application was used to create this post.

captionproperty 
public var caption:String

The caption of the link (appears beneath the link name).

created_timeproperty 
public var created_time:Date

The time the post was initially published.

descriptionproperty 
public var description:String

A description of the link (appears beneath the link caption).

fromproperty 
public var from:FacebookUser

Information about the user who posted the message.

iconproperty 
public var icon:String

A link to an icon representing the type of this post.

likesproperty 
public var likes:Number

The number of likes on this post.

linkproperty 
public var link:String

The link attached to this post.

messageproperty 
public var message:String

The message.

nameproperty 
public var name:String

The name of the link.

pictureproperty 
public var picture:String

If available, a link to the picture included with this post.

privacyproperty 
public var privacy:FacebookPostPrivacy

The privacy settings of the Post.

sourceproperty 
public var source:String

A URL to a Flash movie or video file to be embedded within the post.

targetingproperty 
public var targeting:Object

Location and language restrictions for Page posts only.

toproperty 
public var to:Object

Profiles mentioned or targeted in this post.

typeproperty 
public var type:String

The type of this post.

updated_timeproperty 
public var updated_time:Date

The time of the last comment on this post.

Constructor detail
FacebookPost()constructor
public function FacebookPost()

Creates a new FacebookPost.

Method detail
fromJSON()method
public static function fromJSON(result:Object):FacebookPost

Populates and returns a new FacebookPost from a decoded JSON object.

Parameters
result:Object — A decoded JSON object.

Returns
FacebookPost — A new FacebookPost.
setPropertyValue()method 
protected override function setPropertyValue(property:String, value:*):void

Parameters
property:String
 
value:*
toString()method 
public override function toString():String

Provides the string value of the graph object.

Returns
String — The string value of the graph object.