|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.Post
public class Post
Represents the Post Graph API type.
Nested Class Summary | |
---|---|
static class |
Post.Action
Represents the Action Graph API type. |
static class |
Post.Comments
Represents the Comments Graph API type. |
static class |
Post.Likes
Represents the Likes Graph API type |
static class |
Post.Place
Represents the Place Graph API type |
static class |
Post.Privacy
Represents the Privacy Graph API type. |
static class |
Post.Property
Represents the undocumented Property type. |
Nested classes/interfaces inherited from class com.restfb.types.FacebookType |
---|
FacebookType.Metadata |
Constructor Summary | |
---|---|
Post()
|
Method Summary | |
---|---|
List<Post.Action> |
getActions()
A list of available action names and links (including commenting, liking, and an optional app-specified action). |
NamedFacebookType |
getApplication()
The application used to create this post. |
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 |
getObjectId()
The Facebook object id for an uploaded photo or video. |
String |
getPicture()
If available, a link to the picture included with this post. |
Post.Place |
getPlace()
The place where this post occurred. |
Post.Privacy |
getPrivacy()
The privacy settings for this post. |
List<Post.Property> |
getProperties()
A list of properties 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. |
String |
getType()
The type of post this is, for example "link" . |
Date |
getUpdatedTime()
The time of the last comment on this post. |
Methods inherited from class com.restfb.types.NamedFacebookType |
---|
getName |
Methods inherited from class com.restfb.types.FacebookType |
---|
equals, getId, getMetadata, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Post()
Method Detail |
---|
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 String getType()
"link"
.
getType
in class FacebookType
"link"
.public NamedFacebookType getApplication()
public Long getLikesCount()
public Post.Likes getLikes()
Sometimes this can be null
- check getLikesCount()
instead
in that case.
public Date getCreatedTime()
public Date getUpdatedTime()
public String getObjectId()
public Post.Comments getComments()
public Post.Place getPlace()
public List<NamedFacebookType> getTo()
public List<Post.Action> getActions()
public List<Post.Property> getProperties()
This field is undocumented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |