| Package | com.facebook.graph.data.api.post |
| Class | public class FacebookPost |
| Inheritance | FacebookPost AbstractFacebookGraphObject |
See also
| Property | Defined 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 | ||
![]() | id : 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 | ||
![]() | rawResult : 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 | ||
| Method | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
setPropertyValue(property:String, value:*):void
| FacebookPost | ||
| actions | property |
public var actions:ArrayA list of available actions on the post (including commenting, liking, and an optional app-specified action).
| attribution | property |
public var attribution:StringA string indicating which application was used to create this post.
| caption | property |
public var caption:StringThe caption of the link (appears beneath the link name).
| created_time | property |
public var created_time:DateThe time the post was initially published.
| description | property |
public var description:StringA description of the link (appears beneath the link caption).
| from | property |
public var from:FacebookUserInformation about the user who posted the message.
| icon | property |
public var icon:StringA link to an icon representing the type of this post.
| likes | property |
public var likes:NumberThe number of likes on this post.
| link | property |
public var link:StringThe link attached to this post.
| message | property |
public var message:StringThe message.
| name | property |
public var name:StringThe name of the link.
| picture | property |
public var picture:StringIf available, a link to the picture included with this post.
| privacy | property |
public var privacy:FacebookPostPrivacyThe privacy settings of the Post.
| source | property |
public var source:StringA URL to a Flash movie or video file to be embedded within the post.
| targeting | property |
public var targeting:ObjectLocation and language restrictions for Page posts only.
| to | property |
public var to:ObjectProfiles mentioned or targeted in this post.
| type | property |
public var type:StringThe type of this post.
| updated_time | property |
public var updated_time:DateThe time of the last comment on this post.
| FacebookPost | () | constructor |
public function FacebookPost()Creates a new FacebookPost.
| fromJSON | () | method |
public static function fromJSON(result:Object):FacebookPostPopulates and returns a new FacebookPost from a decoded JSON object.
Parametersresult:Object — A decoded JSON object.
|
FacebookPost —
A new FacebookPost.
|
| setPropertyValue | () | method |
protected override function setPropertyValue(property:String, value:*):voidParameters
property:String |
|
value:* |
| toString | () | method |
public override function toString():StringProvides the string value of the graph object.
ReturnsString — The string value of the graph object.
|