public class Post
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Post.Action |
static class |
Post.InlineTag |
static class |
Post.PostType |
static class |
Post.Property |
| Constructor and Description |
|---|
Post() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Post.Action> |
getActions()
A list of available actions on the post (including commenting, liking,
and an optional app-specified action).
|
Application |
getApplication()
Information about the application this post came from.
|
Attachment |
getAttachment()
Media content associated with a story or comment.
|
java.lang.String |
getCaption()
The caption of the link (appears beneath the link name).
|
java.util.List<Comment> |
getComments()
Comments for this post.
|
java.util.Date |
getCreatedTime()
The time the post was initially published.
|
java.lang.String |
getDescription()
A description of the link (appears beneath the link caption).
|
User |
getFrom()
Information about the user who posted the message.
|
java.lang.String |
getIcon()
A link to an icon representing the type of this post.
|
java.lang.String |
getId()
The post ID.
|
java.lang.Boolean |
getIsHidden()
If this post is marked as hidden (applies to posts on Page Timelines
only).
|
java.util.List<Like> |
getLikes()
Likes of this post
|
java.lang.String |
getLink()
The link attached to this post.
|
java.lang.String |
getMessage()
The message.
|
java.util.List<Post.InlineTag> |
getMessageTags()
Objects tagged in the message (Users, Pages, etc).
|
java.lang.String |
getName()
The name of the link.
|
java.lang.String |
getObjectId()
The Facebook object id for an uploaded photo or video.
|
java.lang.String |
getPicture()
If available, a link to the picture included with this post.
|
Place |
getPlace()
Location associated with a Post, if any.
|
java.util.List<Post.Property> |
getProperties()
A list of properties for an uploaded video, for example, the length of
the video.
|
java.lang.Integer |
getShares()
The number of times this post has been shared.
|
java.lang.String |
getSource()
A URL to a Flash movie or video file to be embedded within the post.
|
java.lang.String |
getStatusType()
Type of post.
|
java.lang.String |
getStory()
Text of stories not intentionally generated by users, such as those
generated when two users become friends.
|
java.util.List<Post.InlineTag> |
getStoryTags()
Objects (Users, Pages, etc) tagged in a non-intentional story.
|
java.util.List<User> |
getTo()
Profiles mentioned or targeted in this post.
|
java.lang.String |
getType()
A string indicating the type for this post (including link, photo,
video).
|
java.util.Date |
getUpdatedTime()
The time of the last comment on this post.
|
java.util.List<User> |
getWithTags()
Objects (Users, Pages, etc) tagged as being with the publisher of the
post ('Who are you with?' on Facebook).
|
public java.util.List<Post.Action> getActions()
public Application getApplication()
public Attachment getAttachment()
public java.lang.String getCaption()
public java.util.List<Comment> getComments()
public java.util.List<Like> getLikes()
public java.util.Date getCreatedTime()
public java.lang.String getDescription()
public User getFrom()
public java.lang.String getIcon()
public java.lang.String getId()
public java.lang.Boolean getIsHidden()
public java.lang.String getLink()
public java.lang.String getMessage()
public java.util.List<Post.InlineTag> getMessageTags()
public java.lang.String getName()
public java.lang.String getObjectId()
public java.lang.String getPicture()
public Place getPlace()
public java.util.List<Post.Property> getProperties()
public java.lang.Integer getShares()
public java.lang.String getSource()
public java.lang.String getStatusType()
public java.lang.String getStory()
public java.util.List<Post.InlineTag> getStoryTags()
public java.util.List<User> getTo()
public java.lang.String getType()
public java.util.Date getUpdatedTime()
public java.util.List<User> getWithTags()