com.restfb.types
Class Comment
java.lang.Object
com.restfb.types.FacebookType
com.restfb.types.Comment
- All Implemented Interfaces:
- Serializable
public class Comment
- extends FacebookType
Represents the Comment Graph
API type.
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
Comment
public Comment()
getFrom
public NamedFacebookType getFrom()
- User who posted the comment.
- Returns:
- User who posted the comment.
getMessage
public String getMessage()
- Text contents of the comment.
- Returns:
- Text contents of the comment.
getCreatedTime
public Date getCreatedTime()
- Date on which the comment was created.
- Returns:
- Date on which the comment was created.
getLikes
public Long getLikes()
- The number of likes on this comment.
- Returns:
- The number of likes on this comment.
RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.