org.springframework.social.facebook.api
Class CoverPhoto
java.lang.Object
org.springframework.social.facebook.api.FacebookObject
org.springframework.social.facebook.api.CoverPhoto
public class CoverPhoto
- extends FacebookObject
Model class representing a user's or a page's cover photo.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverPhoto
public CoverPhoto(String id,
String source,
int offsetX,
int offsetY)
getId
public String getId()
- Returns:
- The ID of the cover photo's Photo object.
getSource
public String getSource()
- Returns:
- A link to the cover photo's image.
getOffsetX
public int getOffsetX()
- Returns:
- The percentage of offset from left (0-100).
getOffsetY
public int getOffsetY()
- Returns:
- The percentage of offset from top (0-100).