org.springframework.social.facebook.api
Class CoverPhoto

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

public class CoverPhoto
extends FacebookObject

Model class representing a user's or a page's cover photo.


Constructor Summary
CoverPhoto(String id, String source, int offsetX, int offsetY)
           
 
Method Summary
 String getId()
           
 int getOffsetX()
           
 int getOffsetY()
           
 String getSource()
           
 
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

CoverPhoto

public CoverPhoto(String id,
                  String source,
                  int offsetX,
                  int offsetY)
Method Detail

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).