|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkMethods
Method Summary | |
---|---|
String |
commentLink(String linkId,
CommentUpdate commentUpdate)
Comments on the link. |
String |
commentLink(String linkId,
String message)
Comments on the link. |
Link |
getLink(String linkId)
Returns the link shared on a user's wall. |
Link |
getLink(String linkId,
Reading reading)
Returns the link shared on a user's wall. |
ResponseList<Comment> |
getLinkComments(String linkId)
Returns all of the comments on a link. |
ResponseList<Comment> |
getLinkComments(String linkId,
Reading reading)
Returns all of the comments on a link. |
ResponseList<Like> |
getLinkLikes(String linkId)
Returns the likes on a link. |
ResponseList<Like> |
getLinkLikes(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(String id)
Returns a user's/page's/event's posted links. |
ResponseList<Link> |
getLinks(String id,
Reading reading)
Returns a user's/page's/event's posted links. |
boolean |
likeLink(String linkId)
Likes the link. |
boolean |
unlikeLink(String linkId)
Unlikes the link. |
Method Detail |
---|
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 Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Link> getLinks(String id) throws FacebookException
id
- the ID of a user/page/event
FacebookException
- when Facebook service or network is unavailableResponseList<Link> getLinks(String id, Reading reading) throws FacebookException
id
- the ID of a user/page/eventreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableLink getLink(String linkId) throws FacebookException
linkId
- the ID of the link
FacebookException
- when Facebook service or network is unavailableLink getLink(String linkId, Reading reading) throws FacebookException
linkId
- the ID of the linkreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getLinkComments(String linkId) throws FacebookException
linkId
- the ID of a link
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getLinkComments(String linkId, Reading reading) throws FacebookException
linkId
- the ID of a linkreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString commentLink(String linkId, String message) throws FacebookException
linkId
- the ID of the linkmessage
- comment text
FacebookException
- when Facebook service or network is unavailableString commentLink(String linkId, CommentUpdate commentUpdate) throws FacebookException
linkId
- the ID of the linkcommentUpdate
- comment content
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getLinkLikes(String linkId) throws FacebookException
linkId
- the ID of a link
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getLinkLikes(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 Developers
FacebookException
- when Facebook service or network is unavailableboolean likeLink(String linkId) throws FacebookException
linkId
- the ID of the link
FacebookException
- when Facebook service or network is unavailableboolean unlikeLink(String linkId) throws FacebookException
linkId
- the ID of the link
FacebookException
- when Facebook service or network is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |