|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VideoMethods
Method Summary | |
---|---|
String |
commentVideo(String videoId,
CommentUpdate commentUpdate)
Comments on the video. |
String |
commentVideo(String videoId,
String message)
Comments on the video. |
Video |
getVideo(String videoId)
Returns a single video. |
Video |
getVideo(String videoId,
Reading reading)
Returns a single video. |
ResponseList<Comment> |
getVideoComments(String videoId)
Returns the comments on a video. |
ResponseList<Comment> |
getVideoComments(String videoId,
Reading reading)
Returns the comments on a video. |
URL |
getVideoCover(String videoId)
Returns url of the image which represents the content of a video. |
ResponseList<Like> |
getVideoLikes(String videoId)
Returns all of the likes on a video. |
ResponseList<Like> |
getVideoLikes(String videoId,
Reading reading)
Returns all of the likes on a video. |
ResponseList<Reaction> |
getVideoReactions(String videoId)
Returns all of the reactions on a video. |
ResponseList<Reaction> |
getVideoReactions(String videoId,
Reading reading)
Returns all of the reactions on a video. |
ResponseList<Video> |
getVideos()
Returns the videos the current user has been tagged in / the current page has uploaded. |
ResponseList<Video> |
getVideos(Reading reading)
Returns the videos the current user has been tagged in / the current page has uploaded. |
ResponseList<Video> |
getVideos(String id)
Returns the videos a user has been tagged in / the current page has uploaded. |
ResponseList<Video> |
getVideos(String id,
Reading reading)
Returns the videos a user has been tagged in / the current page has uploaded. |
ResponseList<Post> |
getVideoSharedposts(String videoId)
Returns the posts in which this video is shared. |
ResponseList<Post> |
getVideoSharedposts(String videoId,
Reading reading)
Returns the posts in which this video is shared. |
boolean |
likeVideo(String videoId)
Likes the video. |
String |
postVideo(String id,
VideoUpdate videoUpdate)
Posts the video to a user's/page's wall. |
String |
postVideo(VideoUpdate videoUpdate)
Posts the video to the current user's/page's wall. |
boolean |
unlikeVideo(String videoId)
Unlikes the video. |
Method Detail |
---|
ResponseList<Video> getVideos() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<Video> getVideos(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Video> getVideos(String id) throws FacebookException
id
- the ID of a user/page
FacebookException
- when Facebook service or network is unavailableResponseList<Video> getVideos(String id, Reading reading) throws FacebookException
id
- the ID of a user/pagereading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString postVideo(VideoUpdate videoUpdate) throws FacebookException
videoUpdate
- video content
FacebookException
- when Facebook service or network is unavailableString postVideo(String id, VideoUpdate videoUpdate) throws FacebookException
id
- the ID of a uservideoUpdate
- video content
FacebookException
- when Facebook service or network is unavailableVideo getVideo(String videoId) throws FacebookException
videoId
- the ID of the video
FacebookException
- when Facebook service or network is unavailableVideo getVideo(String videoId, Reading reading) throws FacebookException
videoId
- the ID of the videoreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getVideoLikes(String videoId) throws FacebookException
videoId
- the ID of a video
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getVideoLikes(String videoId, Reading reading) throws FacebookException
videoId
- the ID of a videoreading
- optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Post> getVideoSharedposts(String videoId) throws FacebookException
videoId
- the ID of a video
FacebookException
- when Facebook service or network is unavailableResponseList<Post> getVideoSharedposts(String videoId, Reading reading) throws FacebookException
videoId
- the ID of a videoreading
- optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableboolean likeVideo(String videoId) throws FacebookException
videoId
- the ID of the video
FacebookException
- when Facebook service or network is unavailableboolean unlikeVideo(String videoId) throws FacebookException
videoId
- the ID of the video
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getVideoComments(String videoId) throws FacebookException
videoId
- the ID of a video
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getVideoComments(String videoId, Reading reading) throws FacebookException
videoId
- the ID of a videoreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString commentVideo(String videoId, String message) throws FacebookException
videoId
- the ID of the videomessage
- comment text
FacebookException
- when Facebook service or network is unavailableString commentVideo(String videoId, CommentUpdate commentUpdate) throws FacebookException
videoId
- the ID of the videocommentUpdate
- comment content
FacebookException
- when Facebook service or network is unavailableURL getVideoCover(String videoId) throws FacebookException
videoId
- the ID of a video
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getVideoReactions(String videoId) throws FacebookException
videoId
- the ID of a video
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getVideoReactions(String videoId, Reading reading) throws FacebookException
videoId
- the ID of a videoreading
- optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |