Spring Social Facebook

org.springframework.social.facebook.api
Class PhotoPost

java.lang.Object
  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.

Author:
Craig Walls

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.social.facebook.api.Post
Post.PostType
 
Constructor Summary
PhotoPost(java.lang.String id, Reference from, java.util.Date createdTime, java.util.Date updatedTime)
           
 
Method Summary
 java.lang.String getPhotoId()
           
 java.util.List<Tag> getTags()
           
 
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

PhotoPost

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

getPhotoId

public java.lang.String getPhotoId()

getTags

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

Spring Social Facebook