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