|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PhotoMethods
| Method Summary | |
|---|---|
boolean |
addTagToPhoto(java.lang.String photoId,
java.util.List<java.lang.String> toUserIds)
Adds the tag to a photo. |
boolean |
addTagToPhoto(java.lang.String photoId,
java.lang.String toUserId)
Adds the tag to a photo. |
boolean |
addTagToPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
Adds the tag to a photo. |
java.lang.String |
commentPhoto(java.lang.String photoId,
java.lang.String message)
Comments on the photo. |
boolean |
deletePhoto(java.lang.String photoId)
Deletes the photo. |
boolean |
deleteTagOnPhoto(java.lang.String photoId,
java.lang.String toUserId)
Deletes a tag for a particular user in the photo. |
Photo |
getPhoto(java.lang.String photoId)
Returns a single photo. |
Photo |
getPhoto(java.lang.String photoId,
Reading reading)
Returns a single photo. |
ResponseList<Comment> |
getPhotoComments(java.lang.String photoId)
Returns the comments made on a photo. |
ResponseList<Comment> |
getPhotoComments(java.lang.String photoId,
Reading reading)
Returns the comments made on a photo. |
ResponseList<Like> |
getPhotoLikes(java.lang.String photoId)
Returns the likes made on a photo. |
ResponseList<Like> |
getPhotoLikes(java.lang.String photoId,
Reading reading)
Returns the likes made on a photo. |
ResponseList<Photo> |
getPhotos()
Returns the photos the current user/page is tagged in. |
ResponseList<Photo> |
getPhotos(Reading reading)
Returns the photos the current user/page is tagged in. |
ResponseList<Photo> |
getPhotos(java.lang.String id)
Returns the photos a user is tagged in / uploaded to a page / published to an event. |
ResponseList<Photo> |
getPhotos(java.lang.String id,
Reading reading)
Returns the photos a user is tagged in / uploaded to a page / published to an event. |
java.net.URL |
getPhotoURL(java.lang.String photoId)
Returns url of a photo. |
ResponseList<Tag> |
getTagsOnPhoto(java.lang.String photoId)
Returns the Users tagged in a photo. |
ResponseList<Tag> |
getTagsOnPhoto(java.lang.String photoId,
Reading reading)
Returns the Users tagged in a photo. |
boolean |
likePhoto(java.lang.String photoId)
Likes the photo. |
java.lang.String |
postPhoto(Media source)
Posts a photo to the current user's wall. |
java.lang.String |
postPhoto(PhotoUpdate photoUpdate)
Posts a photo to the current user's wall. |
java.lang.String |
postPhoto(java.lang.String userId,
Media source)
Posts the photo to a user's wall. |
java.lang.String |
postPhoto(java.lang.String userId,
PhotoUpdate photoUpdate)
Posts the photo to a user's wall. |
boolean |
unlikePhoto(java.lang.String photoId)
Unlikes the photo. |
boolean |
updateTagOnPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
Updates the position of the tag on a photo. |
| Method Detail |
|---|
ResponseList<Photo> getPhotos()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Photo> getPhotos(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Photo> getPhotos(java.lang.String id)
throws FacebookException
id - the ID of a user/page/event
FacebookException - when Facebook service or network is unavailable
ResponseList<Photo> getPhotos(java.lang.String id,
Reading reading)
throws FacebookException
id - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
java.lang.String postPhoto(Media source)
throws FacebookException
source - photo content
FacebookException - when Facebook service or network is unavailable
java.lang.String postPhoto(PhotoUpdate photoUpdate)
throws FacebookException
photoUpdate - the photo to be created
FacebookException - when Facebook service or network is unavailable
java.lang.String postPhoto(java.lang.String userId,
Media source)
throws FacebookException
userId - the ID of a usersource - photo content
FacebookException - when Facebook service or network is unavailable
java.lang.String postPhoto(java.lang.String userId,
PhotoUpdate photoUpdate)
throws FacebookException
userId - the ID of a userphotoUpdate - the photo to be created
FacebookException - when Facebook service or network is unavailable
boolean deletePhoto(java.lang.String photoId)
throws FacebookException
photoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
Photo getPhoto(java.lang.String photoId)
throws FacebookException
photoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
Photo getPhoto(java.lang.String photoId,
Reading reading)
throws FacebookException
photoId - the ID of the photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Comment> getPhotoComments(java.lang.String photoId)
throws FacebookException
photoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
ResponseList<Comment> getPhotoComments(java.lang.String photoId,
Reading reading)
throws FacebookException
photoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
java.lang.String commentPhoto(java.lang.String photoId,
java.lang.String message)
throws FacebookException
photoId - the ID of the photomessage - comment text
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPhotoLikes(java.lang.String photoId)
throws FacebookException
photoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPhotoLikes(java.lang.String photoId,
Reading reading)
throws FacebookException
photoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean likePhoto(java.lang.String photoId)
throws FacebookException
photoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
boolean unlikePhoto(java.lang.String photoId)
throws FacebookException
photoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
java.net.URL getPhotoURL(java.lang.String photoId)
throws FacebookException
photoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId)
throws FacebookException
photoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId,
Reading reading)
throws FacebookException
photoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean addTagToPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
photoId - the ID of a phototoUserId - the ID of the user to tag
FacebookException - when Facebook service or network is unavailable
boolean addTagToPhoto(java.lang.String photoId,
java.util.List<java.lang.String> toUserIds)
throws FacebookException
photoId - the ID of a phototoUserIds - the IDs of the users to tag
FacebookException - when Facebook service or network is unavailable
boolean addTagToPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
photoId - the ID of a phototagUpdate - tag information
FacebookException - when Facebook service or network is unavailable
boolean updateTagOnPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
photoId - the ID of a phototagUpdate - tag information, supports 'to', 'x', 'y'
FacebookException - when Facebook service or network is unavailable
boolean deleteTagOnPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
photoId - the ID of a phototoUserId - the ID of the user to tag
FacebookException - when Facebook service or network is unavailable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||