|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.facebook.api.FacebookObject org.springframework.social.facebook.api.Photo
public class Photo
Model class representing a photo.
Nested Class Summary | |
---|---|
static class |
Photo.Image
|
Method Summary | |
---|---|
Photo.Image |
getAlbumImage()
Deprecated. With July 2013 breaking changes, Facebook will no longer return images larger than the original image. Therefore, there's no way of knowing what sized images will or won't be in the image list. |
Date |
getCreatedTime()
|
Reference |
getFrom()
|
String |
getIcon()
|
String |
getId()
|
List<Photo.Image> |
getImages()
|
String |
getLink()
|
String |
getName()
|
Photo.Image |
getOversizedImage()
Deprecated. With July 2013 breaking changes, Facebook will no longer return images larger than the original image. Therefore, there's no way of knowing what sized images will or won't be in the image list. |
String |
getPicture()
|
Integer |
getPosition()
Deprecated. On September 5, 2012, Facebook will either stop returning a position property on Photo objects or will only return 0. This method will be removed in Spring Social Facebook 1.1.0. |
Photo.Image |
getSmallImage()
Deprecated. With July 2013 breaking changes, Facebook will no longer return images larger than the original image. Therefore, there's no way of knowing what sized images will or won't be in the image list. |
String |
getSource()
|
Photo.Image |
getSourceImage()
Deprecated. With July 2013 breaking changes, Facebook will no longer return images larger than the original image. Therefore, there's no way of knowing what sized images will or won't be in the image list. |
List<Tag> |
getTags()
|
Photo.Image |
getTinyImage()
Deprecated. With July 2013 breaking changes, Facebook will no longer return images larger than the original image. Therefore, there's no way of knowing what sized images will or won't be in the image list. |
Date |
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 |
Method Detail |
---|
public String getId()
public String getName()
public Reference getFrom()
public String getPicture()
public String getSource()
public String getLink()
public String getIcon()
@Deprecated public Integer getPosition()
public Date getCreatedTime()
public Date getUpdatedTime()
public List<Photo.Image> getImages()
@Deprecated public Photo.Image getOversizedImage()
The Image object for the oversized image.
Note that as of the July 2013 breaking changes in Facebook's API, Facebook will no longer return images larger than the originally uploaded image. Therefore, there is no way of knowing which index the oversized image is at, if it exists at all. Consequently, this method has been deprecated and will be removed in Spring Social Facebook 1.1.0. Until then, it will return the image at index 0 in the images list, which may or may not be the source image.
@Deprecated public Photo.Image getSourceImage()
The Image object for the source image.
Note that as of the July 2013 breaking changes in Facebook's API, Facebook will no longer return images larger than the originally uploaded image. Therefore, there is no way of knowing which index the source image is at, if it exists at all. Consequently, this method has been deprecated and will be removed in Spring Social Facebook 1.1.0. Until then, it will return the image at index 1 in the images list, which may or may not be the source image.
@Deprecated public Photo.Image getSmallImage()
The Image object for the small image.
Note that as of the July 2013 breaking changes in Facebook's API, Facebook will no longer return images larger than the originally uploaded image. Therefore, there is no way of knowing which index the small image is at, if it exists at all. Consequently, this method has been deprecated and will be removed in Spring Social Facebook 1.1.0. Until then, it will return the image at index 6 in the images list, which may or may not be the small image.
@Deprecated public Photo.Image getAlbumImage()
The Image object for the album image.
Note that as of the July 2013 breaking changes in Facebook's API, Facebook will no longer return images larger than the originally uploaded image. Therefore, there is no way of knowing which index the album image is at, if it exists at all. Consequently, this method has been deprecated and will be removed in Spring Social Facebook 1.1.0. Until then, it will return the image at index 5 in the images list, which may or may not be the album image.
@Deprecated public Photo.Image getTinyImage()
The Image object for the tiny image.
Note that as of the July 2013 breaking changes in Facebook's API, Facebook will no longer return images larger than the originally uploaded image. Therefore, there is no way of knowing which index the tiny image is at, if it exists at all. Consequently, this method has been deprecated and will be removed in Spring Social Facebook 1.1.0. Until then, it will return the image at index 7 in the images list, which may or may not be the tiny image.
public List<Tag> getTags()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |