public interface LinkMethods
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
commentLink(java.lang.String linkId,
CommentUpdate commentUpdate)
Comments on the link.
|
java.lang.String |
commentLink(java.lang.String linkId,
java.lang.String message)
Comments on the link.
|
Link |
getLink(java.lang.String linkId)
Returns the link shared on a user's wall.
|
Link |
getLink(java.lang.String linkId,
Reading reading)
Returns the link shared on a user's wall.
|
ResponseList<Comment> |
getLinkComments(java.lang.String linkId)
Returns all of the comments on a link.
|
ResponseList<Comment> |
getLinkComments(java.lang.String linkId,
Reading reading)
Returns all of the comments on a link.
|
ResponseList<Like> |
getLinkLikes(java.lang.String linkId)
Returns the likes on a link.
|
ResponseList<Like> |
getLinkLikes(java.lang.String linkId,
Reading reading)
Returns the likes on a link.
|
ResponseList<Link> |
getLinks()
Returns the current user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(Reading reading)
Returns the current user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(java.lang.String id)
Returns a user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(java.lang.String id,
Reading reading)
Returns a user's/page's/event's posted links.
|
boolean |
likeLink(java.lang.String linkId)
Likes the link.
|
boolean |
unlikeLink(java.lang.String linkId)
Unlikes the link.
|
ResponseList<Link> getLinks() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Link> getLinks(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Link> getLinks(java.lang.String id) throws FacebookException
id - the ID of a user/page/eventFacebookException - when Facebook service or network is unavailableResponseList<Link> getLinks(java.lang.String id, Reading reading) throws FacebookException
id - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableLink getLink(java.lang.String linkId) throws FacebookException
linkId - the ID of the linkFacebookException - when Facebook service or network is unavailableLink getLink(java.lang.String linkId, Reading reading) throws FacebookException
linkId - the ID of the linkreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Comment> getLinkComments(java.lang.String linkId) throws FacebookException
linkId - the ID of a linkFacebookException - when Facebook service or network is unavailableResponseList<Comment> getLinkComments(java.lang.String linkId, Reading reading) throws FacebookException
linkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String commentLink(java.lang.String linkId,
java.lang.String message)
throws FacebookException
linkId - the ID of the linkmessage - comment textFacebookException - when Facebook service or network is unavailablejava.lang.String commentLink(java.lang.String linkId,
CommentUpdate commentUpdate)
throws FacebookException
linkId - the ID of the linkcommentUpdate - comment contentFacebookException - when Facebook service or network is unavailableResponseList<Like> getLinkLikes(java.lang.String linkId) throws FacebookException
linkId - the ID of a linkFacebookException - when Facebook service or network is unavailableResponseList<Like> getLinkLikes(java.lang.String linkId, Reading reading) throws FacebookException
linkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableboolean likeLink(java.lang.String linkId)
throws FacebookException
linkId - the ID of the linkFacebookException - when Facebook service or network is unavailableboolean unlikeLink(java.lang.String linkId)
throws FacebookException
linkId - the ID of the linkFacebookException - when Facebook service or network is unavailable