org.springframework.social.facebook.api
Class PhotoPost

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

public class PhotoPost
extends Post

Model class representing a Post to a feed announcing a Photo. Note that this is not the Photo itself. To get the Photo object, get the Photo's ID by calling getPhotoId(), then calling getPhoto(photoId) on MediaOperations.


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

Constructor Detail

PhotoPost

public PhotoPost(String id,
                 Reference from,
                 Date createdTime,
                 Date updatedTime)
Method Detail

getPhotoId

public String getPhotoId()

getTags

public List<Tag> getTags()