public class Post extends NamedFacebookType
Modifier and Type | Class and Description |
---|---|
static class |
Post.Action
Represents the Action Graph
API type.
|
static class |
Post.Comments
Represents a collection of
Comment s. |
static class |
Post.Likes
Represents a collection of Likes.
|
static class |
Post.Privacy
Represents the Privacy Graph
API type.
|
FacebookType.Metadata
Constructor and Description |
---|
Post() |
Modifier and Type | Method and Description |
---|---|
List<Post.Action> |
getActions()
A list of available action names and links (including commenting, liking,
and an optional app-specified action).
|
String |
getAttribution()
A string indicating which application was used to create this post.
|
String |
getCaption()
The caption of the link (appears beneath the link name).
|
Post.Comments |
getComments()
The comments for this post.
|
Date |
getCreatedTime()
The time the post was initially published.
|
String |
getDescription()
A description of the link (appears beneath the link caption).
|
CategorizedFacebookType |
getFrom()
An object containing the ID and name of the user who posted the message.
|
String |
getIcon()
A link to an icon representing the type of this post.
|
Post.Likes |
getLikes()
The likes on this post.
|
Long |
getLikesCount()
The number of likes on this post.
|
String |
getLink()
The link attached to this post.
|
String |
getMessage()
The message.
|
String |
getPicture()
If available, a link to the picture included with this post.
|
Post.Privacy |
getPrivacy()
The privacy settings for this post.
|
String |
getSource()
If available, the source link attached to this post (for example, a flash
or video file).
|
List<NamedFacebookType> |
getTo()
A list of the profiles mentioned or targeted in this post.
|
Date |
getUpdatedTime()
The time of the last comment on this post.
|
getName
equals, getId, getMetadata, getType, hashCode, toString
public CategorizedFacebookType getFrom()
public String getMessage()
public String getPicture()
public String getLink()
public String getCaption()
public String getDescription()
public String getSource()
public String getIcon()
public String getAttribution()
public Post.Privacy getPrivacy()
public Long getLikesCount()
public Post.Likes getLikes()
null
- check getLikesCount()
instead
in that case.public Date getCreatedTime()
public Date getUpdatedTime()
public Post.Comments getComments()
public List<NamedFacebookType> getTo()
public List<Post.Action> getActions()
Copyright © 2014. All rights reserved.