|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PhotoMethods
Method Summary | |
---|---|
boolean |
addTagToPhoto(String photoId,
List<String> toUserIds)
Adds the tag to a photo. |
boolean |
addTagToPhoto(String photoId,
String toUserId)
Adds the tag to a photo. |
boolean |
addTagToPhoto(String photoId,
TagUpdate tagUpdate)
Adds the tag to a photo. |
String |
commentPhoto(String photoId,
CommentUpdate commentUpdate)
Comments on the photo. |
String |
commentPhoto(String photoId,
String message)
Comments on the photo. |
boolean |
deletePhoto(String photoId)
Deletes the photo. |
boolean |
deleteTagOnPhoto(String photoId,
String toUserId)
Deletes a tag for a particular user in the photo. |
Photo |
getPhoto(String photoId)
Returns a single photo. |
Photo |
getPhoto(String photoId,
Reading reading)
Returns a single photo. |
ResponseList<Comment> |
getPhotoComments(String photoId)
Returns the comments made on a photo. |
ResponseList<Comment> |
getPhotoComments(String photoId,
Reading reading)
Returns the comments made on a photo. |
ResponseList<Like> |
getPhotoLikes(String photoId)
Returns the likes made on a photo. |
ResponseList<Like> |
getPhotoLikes(String photoId,
Reading reading)
Returns the likes made on a photo. |
ResponseList<Reaction> |
getPhotoReactions(String photoId)
Returns the reactions on a photo. |
ResponseList<Reaction> |
getPhotoReactions(String photoId,
Reading reading)
Returns the reactions 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(String id)
Returns the photos a user is tagged in / uploaded to a page / published to an event. |
ResponseList<Photo> |
getPhotos(String id,
Reading reading)
Returns the photos a user is tagged in / uploaded to a page / published to an event. |
ResponseList<Post> |
getPhotoSharedposts(String photoId)
Returns the posts in which this photo is shared. |
ResponseList<Post> |
getPhotoSharedposts(String photoId,
Reading reading)
Returns the posts in which this photo is shared. |
URL |
getPhotoURL(String photoId)
Returns url of a photo. |
ResponseList<Tag> |
getTagsOnPhoto(String photoId)
Returns the Users tagged in a photo. |
ResponseList<Tag> |
getTagsOnPhoto(String photoId,
Reading reading)
Returns the Users tagged in a photo. |
ResponseList<Photo> |
getUploadedPhotos()
Returns All of the updates photos of the current user/page. |
ResponseList<Photo> |
getUploadedPhotos(Reading reading)
Returns All of the updates photos of the current user/page. |
ResponseList<Photo> |
getUploadedPhotos(String id)
Returns All of the updates photos of the current user/page. |
ResponseList<Photo> |
getUploadedPhotos(String id,
Reading reading)
Returns All of the updates photos of the current user/page. |
boolean |
likePhoto(String photoId)
Likes the photo. |
String |
postPhoto(Media source)
Posts a photo to the current user's wall. |
String |
postPhoto(PhotoUpdate photoUpdate)
Posts a photo to the current user's wall. |
String |
postPhoto(String userId,
Media source)
Posts the photo to a user's wall. |
String |
postPhoto(String userId,
PhotoUpdate photoUpdate)
Posts the photo to a user's wall. |
boolean |
unlikePhoto(String photoId)
Unlikes the photo. |
boolean |
updateTagOnPhoto(String photoId,
TagUpdate tagUpdate)
Updates the position of the tag on a photo. |
Method Detail |
---|
ResponseList<Photo> getUploadedPhotos() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getUploadedPhotos(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getUploadedPhotos(String id) throws FacebookException
id
- the ID of a user/page
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getUploadedPhotos(String id, Reading reading) throws FacebookException
id
- the ID of a user/pagereading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getPhotos() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getPhotos(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getPhotos(String id) throws FacebookException
id
- the ID of a user/page/event
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getPhotos(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 unavailableString postPhoto(Media source) throws FacebookException
source
- photo content
FacebookException
- when Facebook service or network is unavailableString postPhoto(PhotoUpdate photoUpdate) throws FacebookException
photoUpdate
- the photo to be created
FacebookException
- when Facebook service or network is unavailableString postPhoto(String userId, Media source) throws FacebookException
userId
- the ID of a usersource
- photo content
FacebookException
- when Facebook service or network is unavailableString postPhoto(String userId, PhotoUpdate photoUpdate) throws FacebookException
userId
- the ID of a userphotoUpdate
- the photo to be created
FacebookException
- when Facebook service or network is unavailableboolean deletePhoto(String photoId) throws FacebookException
photoId
- the ID of the photo
FacebookException
- when Facebook service or network is unavailablePhoto getPhoto(String photoId) throws FacebookException
photoId
- the ID of the photo
FacebookException
- when Facebook service or network is unavailablePhoto getPhoto(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 unavailableResponseList<Comment> getPhotoComments(String photoId) throws FacebookException
photoId
- the ID of a photo
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getPhotoComments(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 unavailableResponseList<Post> getPhotoSharedposts(String photoId) throws FacebookException
photoId
- the ID of a photo
FacebookException
- when Facebook service or network is unavailableResponseList<Post> getPhotoSharedposts(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 unavailableString commentPhoto(String photoId, String message) throws FacebookException
photoId
- the ID of the photomessage
- comment text
FacebookException
- when Facebook service or network is unavailableString commentPhoto(String photoId, CommentUpdate commentUpdate) throws FacebookException
photoId
- the ID of the photocommentUpdate
- comment content
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getPhotoLikes(String photoId) throws FacebookException
photoId
- the ID of a photo
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getPhotoLikes(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 unavailableboolean likePhoto(String photoId) throws FacebookException
photoId
- the ID of the photo
FacebookException
- when Facebook service or network is unavailableboolean unlikePhoto(String photoId) throws FacebookException
photoId
- the ID of the photo
FacebookException
- when Facebook service or network is unavailableURL getPhotoURL(String photoId) throws FacebookException
photoId
- the ID of a photo
FacebookException
- when Facebook service or network is unavailableResponseList<Tag> getTagsOnPhoto(String photoId) throws FacebookException
photoId
- the ID of a photo
FacebookException
- when Facebook service or network is unavailableResponseList<Tag> getTagsOnPhoto(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 unavailableboolean addTagToPhoto(String photoId, String toUserId) throws FacebookException
photoId
- the ID of a phototoUserId
- the ID of the user to tag
FacebookException
- when Facebook service or network is unavailableboolean addTagToPhoto(String photoId, List<String> toUserIds) throws FacebookException
photoId
- the ID of a phototoUserIds
- the IDs of the users to tag
FacebookException
- when Facebook service or network is unavailableboolean addTagToPhoto(String photoId, TagUpdate tagUpdate) throws FacebookException
photoId
- the ID of a phototagUpdate
- tag information
FacebookException
- when Facebook service or network is unavailableboolean updateTagOnPhoto(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 unavailableboolean deleteTagOnPhoto(String photoId, String toUserId) throws FacebookException
photoId
- the ID of a phototoUserId
- the ID of the user to tag
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getPhotoReactions(String photoId) throws FacebookException
photoId
- the ID of the photo
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getPhotoReactions(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |