Spring Social Facebook

org.springframework.social.facebook.api
Class VideoPost

java.lang.Object
  extended by org.springframework.social.facebook.api.Post
      extended by org.springframework.social.facebook.api.VideoPost

public class VideoPost
extends Post

Model class representing a Post announcing a Video to a feed. This is not the Video itself. To get the Video object, get the video's ID by calling getVideoId() then pass it to MediaOperations.getVideo(videoId).

Author:
Craig Walls

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.social.facebook.api.Post
Post.PostType
 
Constructor Summary
VideoPost(java.lang.String id, Reference from, java.util.Date createdTime, java.util.Date updatedTime)
           
 
Method Summary
 java.lang.String getSource()
           
 java.util.List<Tag> getTags()
           
 java.lang.String getVideoId()
           
 
Methods inherited from class org.springframework.social.facebook.api.Post
getApplication, getCaption, getComments, getCreatedTime, getDescription, getFrom, getIcon, getId, getLikeCount, getLink, getMessage, getName, getPicture, getTo, getType, getUpdatedTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoPost

public VideoPost(java.lang.String id,
                 Reference from,
                 java.util.Date createdTime,
                 java.util.Date updatedTime)
Method Detail

getSource

public java.lang.String getSource()

getVideoId

public java.lang.String getVideoId()

getTags

public java.util.List<Tag> getTags()

Spring Social Facebook