class FacebookImpl extends FacebookBaseImpl implements Facebook
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
FacebookImpl(Configuration conf,
Authorization auth) |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
_comment(java.lang.String objectId,
CommentUpdate commentUpdate) |
private java.lang.String |
_comment(java.lang.String objectId,
java.lang.String message) |
private ResponseList<Comment> |
_getComments(java.lang.String objectId,
Reading reading) |
private ResponseList<Like> |
_getLikes(java.lang.String objectId,
Reading reading) |
private java.net.URL |
_getPictureURL(java.lang.String objectId,
int width,
int height) |
private java.net.URL |
_getPictureURL(java.lang.String objectId,
PictureSize size) |
private java.net.URL |
_getSSLPictureURL(java.lang.String objectId,
PictureSize size) |
private boolean |
_like(java.lang.String objectId) |
private java.lang.String |
_postLink(java.lang.String objectId,
java.net.URL link,
java.lang.String message) |
private java.lang.String |
_postStatusMessage(java.lang.String objectId,
java.lang.String message) |
private boolean |
_unlike(java.lang.String objectId) |
AccountMethods |
accounts() |
ActivityMethods |
activities() |
java.lang.String |
addAlbumPhoto(java.lang.String albumId,
Media source)
Adds a photo to the album.
|
java.lang.String |
addAlbumPhoto(java.lang.String albumId,
Media source,
java.lang.String message)
Adds a photo to the album.
|
boolean |
addFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
Adds a user to the friend list.
|
java.lang.String |
addQuestionOption(java.lang.String questionId,
java.lang.String optionDescription)
Adds the option to a question.
|
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.
|
AlbumMethods |
albums() |
BatchRequestsMethods |
batch() |
java.util.Map<java.lang.String,java.lang.Boolean> |
block(java.util.List<java.lang.String> userIds)
Blocks users from posting content to the current page.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
block(java.lang.String pageId,
java.util.List<java.lang.String> userIds)
Blocks users from posting content to the current page.
|
private java.lang.String |
buildEndpoint(java.lang.String id) |
private java.lang.String |
buildEndpoint(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> parameters) |
private java.lang.String |
buildEndpoint(java.lang.String id,
Reading reading) |
private java.lang.String |
buildEndpoint(java.lang.String id,
java.lang.String connection) |
private java.lang.String |
buildEndpoint(java.lang.String id,
java.lang.String connection,
Reading reading) |
private java.lang.String |
buildSearchEndpoint(java.lang.String query,
java.lang.String objectType,
Reading reading) |
private java.lang.String |
buildVideoEndpoint(java.lang.String id,
java.lang.String connection) |
private java.lang.String |
buildVideoEndpoint(java.lang.String id,
java.lang.String connection,
Reading reading) |
RawAPIResponse |
callDeleteAPI(java.lang.String relativeUrl)
Calls raw Facebook DELETE API simply.
|
RawAPIResponse |
callDeleteAPI(java.lang.String relativeUrl,
java.util.Map<java.lang.String,java.lang.String> parameters)
Calls raw Facebook DELETE API simply.
|
RawAPIResponse |
callGetAPI(java.lang.String relativeUrl)
Calls raw Facebook GET API simply.
|
RawAPIResponse |
callGetAPI(java.lang.String relativeUrl,
facebook4j.internal.http.HttpParameter... parameters)
Calls raw Facebook GET API simply.
|
RawAPIResponse |
callGetAPI(java.lang.String relativeUrl,
java.util.Map<java.lang.String,java.lang.String> parameters)
Calls raw Facebook GET API simply.
|
RawAPIResponse |
callPostAPI(java.lang.String relativeUrl)
Calls raw Facebook POST API simply.
|
RawAPIResponse |
callPostAPI(java.lang.String relativeUrl,
facebook4j.internal.http.HttpParameter... parameters)
Calls raw Facebook POST API simply.
|
RawAPIResponse |
callPostAPI(java.lang.String relativeUrl,
java.util.Map<java.lang.String,java.lang.String> parameters)
Calls raw Facebook POST API simply.
|
java.lang.String |
checkin(CheckinUpdate checkinUpdate)
Checkins the place as the current user.
|
java.lang.String |
checkin(java.lang.String userId,
CheckinUpdate checkinUpdate)
Checkins the place as a user.
|
CheckinMethods |
checkins() |
java.lang.String |
commentAlbum(java.lang.String albumId,
CommentUpdate commentUpdate)
Comments on the album.
|
java.lang.String |
commentAlbum(java.lang.String albumId,
java.lang.String message)
Comments on the album.
|
java.lang.String |
commentCheckin(java.lang.String checkinId,
java.lang.String message)
Comments on a checkin.
|
java.lang.String |
commentLink(java.lang.String linkId,
CommentUpdate commentUpdate)
Comments on the link.
|
java.lang.String |
commentLink(java.lang.String linkId,
java.lang.String message)
Comments on the link.
|
java.lang.String |
commentNote(java.lang.String noteId,
java.lang.String message)
Comments on the note.
|
java.lang.String |
commentPhoto(java.lang.String photoId,
CommentUpdate commentUpdate)
Comments on the photo.
|
java.lang.String |
commentPhoto(java.lang.String photoId,
java.lang.String message)
Comments on the photo.
|
java.lang.String |
commentPost(java.lang.String postId,
CommentUpdate commentUpdate)
Comments on the post.
|
java.lang.String |
commentPost(java.lang.String postId,
java.lang.String message)
Comments on the post.
|
CommentMethods |
comments() |
java.lang.String |
commentVideo(java.lang.String videoId,
CommentUpdate commentUpdate)
Comments on the video.
|
java.lang.String |
commentVideo(java.lang.String videoId,
java.lang.String message)
Comments on the video.
|
private boolean |
containsAccessToken(facebook4j.internal.http.HttpParameter[] parameters) |
private java.lang.String |
convertQueriesToJson(java.util.Map<java.lang.String,java.lang.String> queries) |
java.lang.String |
createAlbum(AlbumUpdate albumUpdate)
Creates the current user's photo album.
|
java.lang.String |
createAlbum(java.lang.String userId,
AlbumUpdate albumUpdate)
Creates the user's photo album.
|
java.lang.String |
createEvent(EventUpdate eventUpdate)
Creates the event for the current user/page.
|
java.lang.String |
createEvent(java.lang.String id,
EventUpdate eventUpdate)
Creates the event for a user/event/page.
|
java.lang.String |
createFriendlist(java.lang.String friendlistName)
Creates the friend list for the current user.
|
java.lang.String |
createFriendlist(java.lang.String userId,
java.lang.String friendlistName)
Creates the friend list for a user.
|
java.lang.String |
createMilestone(MilestoneUpdate milestoneUpdate)
Creates the milestone for the current page.
|
java.lang.String |
createMilestone(java.lang.String pageId,
MilestoneUpdate milestoneUpdate)
Creates the milestone for the page.
|
java.lang.String |
createNote(java.lang.String subject,
java.lang.String message)
Creates the current user's/page's note.
|
java.lang.String |
createNote(java.lang.String id,
java.lang.String subject,
java.lang.String message)
Creates the note on behalf of a user/page.
|
java.lang.String |
createOffer(OfferUpdate offerUpdate)
Creates an offer for the current page.
|
java.lang.String |
createOffer(java.lang.String pageId,
OfferUpdate offerUpdate)
Creates an offers for the page.
|
java.lang.String |
createQuestion(QuestionUpdate questionUpdate)
Creates a current page's question.
|
java.lang.String |
createQuestion(java.lang.String id,
QuestionUpdate questionUpdate)
Creates the question.
|
TestUser |
createTestUser(java.lang.String appId)
Creates a test user associated with a particular app.
|
TestUser |
createTestUser(java.lang.String appId,
java.lang.String name,
java.lang.String locale,
java.lang.String permissions)
Creates a test user associated with a particular app.
|
TestUser |
createTestUser(java.lang.String appId,
java.lang.String name,
java.lang.String locale,
java.lang.String permissions,
boolean installed)
Creates a test user associated with a particular app.
|
private facebook4j.internal.http.HttpResponse |
delete(java.lang.String url) |
private facebook4j.internal.http.HttpResponse |
delete(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters) |
boolean |
deleteAchievement(java.lang.String userId,
java.net.URL achievementURL)
Deletes the achievement for a user.
|
boolean |
deleteAchievement(java.net.URL achievementURL)
Deletes the achievement for the current user.
|
boolean |
deleteAllPermissions()
This method is an alias of:
PermissionMethods.revokeAllPermissions() . |
boolean |
deleteAllPermissions(java.lang.String userId)
This method is an alias of:
PermissionMethods.revokeAllPermissions() . |
boolean |
deleteComment(java.lang.String commentId)
Deletes the comment.
|
boolean |
deleteEvent(java.lang.String eventId)
Deletes the event.
|
boolean |
deleteEventPicture(java.lang.String eventId)
Deletes the event's profile picture.
|
boolean |
deleteFriendlist(java.lang.String friendlistId)
Deletes the friend list.
|
boolean |
deleteFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
This method is an alias of:
FriendMethods.removeFriendlistMember(String, String) . |
boolean |
deleteMilestone(java.lang.String milestoneId)
Deletes the milestone.
|
boolean |
deleteOffer(java.lang.String offerId)
Deletes the createOffer.
|
boolean |
deletePermission(java.lang.String permissionName)
This method is an alias of:
PermissionMethods.revokePermission(String) . |
boolean |
deletePermission(java.lang.String userId,
java.lang.String permissionName)
This method is an alias of:
PermissionMethods.revokePermission(String, String) . |
boolean |
deletePhoto(java.lang.String photoId)
Deletes the photo.
|
boolean |
deletePost(java.lang.String postId)
Deletes the post.
|
boolean |
deleteQuestion(java.lang.String questionId)
Deletes the question.
|
boolean |
deleteScore()
Deletes the current score for the current user.
|
boolean |
deleteScore(java.lang.String userId)
Deletes the current score for a user.
|
boolean |
deleteTab(java.lang.String tabId)
Deletes an installed profile_tab where is_permanent is not true for the current page.
|
boolean |
deleteTab(java.lang.String pageId,
java.lang.String tabId)
Deletes an installed profile_tab where is_permanent is not true for the page.
|
boolean |
deleteTagOnPhoto(java.lang.String photoId,
java.lang.String toUserId)
Deletes a tag for a particular user in the photo.
|
boolean |
deleteTestUser(java.lang.String testUserId)
Deletes the test user.
|
boolean |
displayPagePost(java.lang.String postId,
boolean isHidden)
Hides/Shows the page's post that is published by a non-admin user.
|
DomainMethods |
domains() |
boolean |
editEvent(java.lang.String eventId,
EventUpdate eventUpdate)
Updates the event.
|
EventMethods |
events() |
java.util.List<BatchResponse> |
executeBatch(BatchRequests<BatchRequest> requests)
Calls Facebook batch API.
|
facebook4j.internal.org.json.JSONArray |
executeFQL(java.lang.String query)
Executes a single FQL query.
|
facebook4j.internal.org.json.JSONArray |
executeFQL(java.lang.String query,
java.util.Locale locale)
Executes a single FQL query.
|
java.util.Map<java.lang.String,facebook4j.internal.org.json.JSONArray> |
executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries)
Executes multiple FQL queries.
|
java.util.Map<java.lang.String,facebook4j.internal.org.json.JSONArray> |
executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries,
java.util.Locale locale)
Executes multiple FQL queries.
|
FamilyMethods |
family() |
FavoriteMethods |
favorites() |
<T> ResponseList<T> |
fetchNext(Paging<T> paging)
Fetches the data of the next page.
|
private <T> ResponseList<T> |
fetchPaging(java.net.URL url,
java.lang.Class<T> jsonObjectType) |
<T> ResponseList<T> |
fetchPrevious(Paging<T> paging)
Fetches the data of the previous page.
|
FQLMethods |
fql() |
FriendMethods |
friends() |
GameMethods |
games() |
private facebook4j.internal.http.HttpResponse |
get(java.lang.String url) |
private facebook4j.internal.http.HttpResponse |
get(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters) |
ResponseList<Account> |
getAccounts()
Returns the current user's accounts of Facebook apps and pages.
|
ResponseList<Account> |
getAccounts(Reading reading)
Returns the current user's accounts of Facebook apps and pages.
|
ResponseList<Account> |
getAccounts(java.lang.String userId)
Returns a user's accounts of Facebook apps and pages.
|
ResponseList<Account> |
getAccounts(java.lang.String userId,
Reading reading)
Returns a user's accounts of Facebook apps and pages.
|
ResponseList<Achievement> |
getAchievements()
Returns the achievements for the current user.
|
ResponseList<Achievement> |
getAchievements(Reading reading)
Returns the achievements for the current user.
|
ResponseList<Achievement> |
getAchievements(java.lang.String userId)
Returns the achievements for a user.
|
ResponseList<Achievement> |
getAchievements(java.lang.String userId,
Reading reading)
Returns the achievements for a user.
|
ResponseList<Activity> |
getActivities()
Returns the activities listed on the current user's profile.
|
ResponseList<Activity> |
getActivities(Reading reading)
Returns the activities listed on the current user's profile.
|
ResponseList<Activity> |
getActivities(java.lang.String userId)
Returns the activities listed on a user's profile.
|
ResponseList<Activity> |
getActivities(java.lang.String userId,
Reading reading)
Returns the activities listed on a user's profile.
|
Album |
getAlbum(java.lang.String albumId)
Returns a single photo album.
|
Album |
getAlbum(java.lang.String albumId,
Reading reading)
Returns a single photo album.
|
ResponseList<Comment> |
getAlbumComments(java.lang.String albumId)
Returns the comments made on the album.
|
ResponseList<Comment> |
getAlbumComments(java.lang.String albumId,
Reading reading)
Returns the comments made on the album.
|
java.net.URL |
getAlbumCoverPhoto(java.lang.String albumId)
Returns url of the album's cover photo.
|
ResponseList<Like> |
getAlbumLikes(java.lang.String albumId)
Returns likes made on the album.
|
ResponseList<Like> |
getAlbumLikes(java.lang.String albumId,
Reading reading)
Returns likes made on the album.
|
ResponseList<Photo> |
getAlbumPhotos(java.lang.String albumId)
Returns the photos contained in the album.
|
ResponseList<Photo> |
getAlbumPhotos(java.lang.String albumId,
Reading reading)
Returns the photos contained in the album.
|
ResponseList<Album> |
getAlbums()
Returns the photo albums the current user/page has created.
|
ResponseList<Album> |
getAlbums(Reading reading)
Returns the photo albums the current user/page has created.
|
ResponseList<Album> |
getAlbums(java.lang.String id)
Returns the photo albums a user/page has created.
|
ResponseList<Album> |
getAlbums(java.lang.String id,
Reading reading)
Returns the photo albums a user/page has created.
|
ResponseList<Friend> |
getBelongsFriend(java.lang.String friendId)
Returns the friend if the current user friends with.
|
ResponseList<Friend> |
getBelongsFriend(java.lang.String friendId,
Reading reading)
Returns the friend if the current user friends with.
|
ResponseList<Friend> |
getBelongsFriend(java.lang.String userId,
java.lang.String friendId)
Returns the friend if a user friends with.
|
ResponseList<Friend> |
getBelongsFriend(java.lang.String userId,
java.lang.String friendId,
Reading reading)
Returns the friend if a user friends with.
|
ResponseList<User> |
getBlocked()
Returns a list of users blocked from the current Page.
|
ResponseList<User> |
getBlocked(Reading reading)
Returns a list of users blocked from the current Page.
|
ResponseList<User> |
getBlocked(java.lang.String pageId)
Returns a list of users blocked from the Page.
|
ResponseList<User> |
getBlocked(java.lang.String pageId,
Reading reading)
Returns a list of users blocked from the Page.
|
ResponseList<Book> |
getBooks()
Returns the books listed on the current user's profile.
|
ResponseList<Book> |
getBooks(Reading reading)
Returns the books listed on the current user's profile.
|
ResponseList<Book> |
getBooks(java.lang.String userId)
Returns the books listed on a user's profile.
|
ResponseList<Book> |
getBooks(java.lang.String userId,
Reading reading)
Returns the books listed on a user's profile.
|
Checkin |
getCheckin(java.lang.String checkinId)
Returns a single checkin information.
|
Checkin |
getCheckin(java.lang.String checkinId,
Reading reading)
Returns a single checkin information.
|
ResponseList<Comment> |
getCheckinComments(java.lang.String checkinId)
Returns the comments on a checkin.
|
ResponseList<Comment> |
getCheckinComments(java.lang.String checkinId,
Reading reading)
Returns the comments on a checkin.
|
ResponseList<Like> |
getCheckinLikes(java.lang.String checkinId)
Returns the users who like a checkin.
|
ResponseList<Like> |
getCheckinLikes(java.lang.String checkinId,
Reading reading)
Returns the users who like a checkin.
|
ResponseList<Checkin> |
getCheckins()
Returns the places that the current user has checked-into
or made to the Place Page by the current user or friends of the current user.
|
ResponseList<Checkin> |
getCheckins(Reading reading)
Returns the places that the current user has checked-into
or made to the Place Page by the current user or friends of the current user.
|
ResponseList<Checkin> |
getCheckins(java.lang.String id)
Returns the places that a user has checked-into
or made to the Place Page by the user or friends of the user.
|
ResponseList<Checkin> |
getCheckins(java.lang.String id,
Reading reading)
Returns the places that a user has checked-into
or made to the Place Page by the user or friends of the user.
|
Comment |
getComment(java.lang.String commentId)
Returns a single comment.
|
Comment |
getComment(java.lang.String commentId,
Reading reading)
Returns a single comment.
|
ResponseList<Like> |
getCommentLikes(java.lang.String commentId)
Returns the likes on a comment.
|
ResponseList<Like> |
getCommentLikes(java.lang.String commentId,
Reading reading)
Returns the likes on a comment.
|
ResponseList<Comment> |
getCommentReplies(java.lang.String commentId)
Returns the replies on a comment.
|
ResponseList<Comment> |
getCommentReplies(java.lang.String commentId,
Reading reading)
Returns the replies on a comment.
|
Domain |
getDomain(java.lang.String domainId)
Returns the website domain information using Facebook.
|
Domain |
getDomainByName(java.lang.String domainName)
Returns the website domain information using Facebook.
|
java.util.List<Domain> |
getDomainsByName(java.lang.String... domainName)
Returns the website domains information using Facebook.
|
Event |
getEvent(java.lang.String eventId)
Returns a single event.
|
Event |
getEvent(java.lang.String eventId,
Reading reading)
Returns a single event.
|
ResponseList<Photo> |
getEventPhotos(java.lang.String eventId)
Returns the event's photos.
|
ResponseList<Photo> |
getEventPhotos(java.lang.String eventId,
Reading reading)
Returns the event's photos.
|
java.net.URL |
getEventPictureURL(java.lang.String eventId)
Returns url of the event's profile picture.
|
java.net.URL |
getEventPictureURL(java.lang.String eventId,
PictureSize size)
Returns url of the event's profile picture.
|
ResponseList<Event> |
getEvents()
Returns the events the current user/page is attending.
|
ResponseList<Event> |
getEvents(Reading reading)
Returns the events the current user/page is attending.
|
ResponseList<Event> |
getEvents(java.lang.String id)
Returns the events a user/event/page is attending.
|
ResponseList<Event> |
getEvents(java.lang.String id,
Reading reading)
Returns the events a user/event/page is attending.
|
ResponseList<Video> |
getEventVideos(java.lang.String eventId)
Returns the event's videos.
|
ResponseList<Video> |
getEventVideos(java.lang.String eventId,
Reading reading)
Returns the event's videos.
|
ResponseList<Family> |
getFamily()
Returns the current user's family relationships.
|
ResponseList<Family> |
getFamily(Reading reading)
Returns the current user's family relationships.
|
ResponseList<Family> |
getFamily(java.lang.String userId)
Returns a user's family relationships.
|
ResponseList<Family> |
getFamily(java.lang.String userId,
Reading reading)
Returns a user's family relationships.
|
ResponseList<Post> |
getFeed()
Returns the current user's/page's/event's wall.
|
ResponseList<Post> |
getFeed(Reading reading)
Returns the current user's/page's/event's wall.
|
ResponseList<Post> |
getFeed(java.lang.String id)
Returns a user's/page's/event's wall.
|
ResponseList<Post> |
getFeed(java.lang.String id,
Reading reading)
Returns a user's/page's/event's wall.
|
Friendlist |
getFriendlist(java.lang.String friendlistId)
Returns a single friend list.
|
Friendlist |
getFriendlist(java.lang.String friendlistId,
Reading reading)
Returns a single friend list.
|
ResponseList<Friend> |
getFriendlistMembers(java.lang.String friendlistId)
Returns all of the users who are members of this list.
|
ResponseList<Friendlist> |
getFriendlists()
Returns the current user's friend lists.
|
ResponseList<Friendlist> |
getFriendlists(Reading reading)
Returns the current user's friend lists.
|
ResponseList<Friendlist> |
getFriendlists(java.lang.String userId)
Returns the user's friend lists.
|
ResponseList<Friendlist> |
getFriendlists(java.lang.String userId,
Reading reading)
Returns the user's friend lists.
|
ResponseList<FriendRequest> |
getFriendRequests()
Returns the current user's incoming friend requests.
|
ResponseList<FriendRequest> |
getFriendRequests(Reading reading)
Returns the current user's incoming friend requests.
|
ResponseList<FriendRequest> |
getFriendRequests(java.lang.String userId)
Returns the user's incoming friend requests.
|
ResponseList<FriendRequest> |
getFriendRequests(java.lang.String userId,
Reading reading)
Returns the user's incoming friend requests.
|
ResponseList<Friend> |
getFriends()
Returns the current user's friends.
|
ResponseList<Friend> |
getFriends(Reading reading)
Returns the current user's friends.
|
ResponseList<Friend> |
getFriends(java.lang.String userId)
Returns a user's friends.
|
ResponseList<Friend> |
getFriends(java.lang.String userId,
Reading reading)
Returns a user's friends.
|
ResponseList<Game> |
getGames()
Returns the games the current user has added to the Arts and Entertainment section of their profile.
|
ResponseList<Game> |
getGames(Reading reading)
Returns the games the current user has added to the Arts and Entertainment section of their profile.
|
ResponseList<Game> |
getGames(java.lang.String userId)
Returns the games a user has added to the Arts and Entertainment section of their profile.
|
ResponseList<Game> |
getGames(java.lang.String userId,
Reading reading)
Returns the games a user has added to the Arts and Entertainment section of their profile.
|
ResponseList<Page> |
getGlobalBrandChildren(java.lang.String pageId)
Returns all children pages of a specific page.
|
ResponseList<Page> |
getGlobalBrandChildren(java.lang.String pageId,
Reading reading)
Returns all children pages of a specific page.
|
Group |
getGroup(java.lang.String groupId)
Returns a single group.
|
Group |
getGroup(java.lang.String groupId,
Reading reading)
Returns a single group.
|
ResponseList<GroupDoc> |
getGroupDocs(java.lang.String groupId)
Returns the docs in a group.
|
ResponseList<GroupDoc> |
getGroupDocs(java.lang.String groupId,
Reading reading)
Returns the docs in a group.
|
ResponseList<Post> |
getGroupFeed(java.lang.String groupId)
Returns the group's wall.
|
ResponseList<Post> |
getGroupFeed(java.lang.String groupId,
Reading reading)
Returns the group's wall.
|
ResponseList<GroupMember> |
getGroupMembers(java.lang.String groupId)
Returns all of the users who are members of a group.
|
ResponseList<GroupMember> |
getGroupMembers(java.lang.String groupId,
Reading reading)
Returns all of the users who are members of a group.
|
java.net.URL |
getGroupPictureURL(java.lang.String groupId)
Returns url of a group's profile picture.
|
ResponseList<Group> |
getGroups()
Returns the Groups that the current user belongs to.
|
ResponseList<Group> |
getGroups(Reading reading)
Returns the Groups that the current user belongs to.
|
ResponseList<Group> |
getGroups(java.lang.String userId)
Returns the Groups that a user belongs to.
|
ResponseList<Group> |
getGroups(java.lang.String userId,
Reading reading)
Returns the Groups that a user belongs to.
|
ResponseList<Post> |
getHome()
Returns the current user's news feed.
|
ResponseList<Post> |
getHome(Reading reading)
Returns the current user's news feed.
|
InboxResponseList<Message> |
getInbox()
Returns the messages in the current user's inbox.
|
InboxResponseList<Message> |
getInbox(Reading reading)
Returns the messages in the current user's inbox.
|
InboxResponseList<Message> |
getInbox(java.lang.String userId)
Returns the messages in a user's inbox.
|
InboxResponseList<Message> |
getInbox(java.lang.String userId,
Reading reading)
Returns the messages in a user's inbox.
|
ResponseList<Insight> |
getInsights(java.lang.String objectId,
java.lang.String metric) |
ResponseList<Insight> |
getInsights(java.lang.String objectId,
java.lang.String metric,
Reading reading) |
ResponseList<Tab> |
getInstalledTabs(java.util.List<java.lang.String> appIds)
Returns the current Page's profile tabs if a specific app is installed.
|
ResponseList<Tab> |
getInstalledTabs(java.util.List<java.lang.String> appIds,
Reading reading)
Returns the current Page's profile tabs if a specific app is installed.
|
ResponseList<Tab> |
getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds)
Returns the Page's profile tabs if a specific app is installed.
|
ResponseList<Tab> |
getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds,
Reading reading)
Returns the Page's profile tabs if a specific app is installed.
|
ResponseList<Interest> |
getInterests()
Returns the interests listed on the current user's profile.
|
ResponseList<Interest> |
getInterests(Reading reading)
Returns the interests listed on the current user's profile.
|
ResponseList<Interest> |
getInterests(java.lang.String userId)
Returns the interests listed on a user's profile.
|
ResponseList<Interest> |
getInterests(java.lang.String userId,
Reading reading)
Returns the interests listed on a user's profile.
|
Page |
getLikedPage(java.lang.String pageId)
Returns a specific page that the current user has liked.
|
Page |
getLikedPage(java.lang.String pageId,
Reading reading)
Returns a specific page that the current user has liked.
|
Page |
getLikedPage(java.lang.String userId,
java.lang.String pageId)
Returns a specific page that a user has liked.
|
Page |
getLikedPage(java.lang.String userId,
java.lang.String pageId,
Reading reading)
Returns a specific page that a user has liked.
|
Link |
getLink(java.lang.String linkId)
Returns the link shared on a user's wall.
|
Link |
getLink(java.lang.String linkId,
Reading reading)
Returns the link shared on a user's wall.
|
ResponseList<Comment> |
getLinkComments(java.lang.String linkId)
Returns all of the comments on a link.
|
ResponseList<Comment> |
getLinkComments(java.lang.String linkId,
Reading reading)
Returns all of the comments on a link.
|
ResponseList<Like> |
getLinkLikes(java.lang.String linkId)
Returns the likes on a link.
|
ResponseList<Like> |
getLinkLikes(java.lang.String linkId,
Reading reading)
Returns the likes on a link.
|
ResponseList<Link> |
getLinks()
Returns the current user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(Reading reading)
Returns the current user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(java.lang.String id)
Returns a user's/page's/event's posted links.
|
ResponseList<Link> |
getLinks(java.lang.String id,
Reading reading)
Returns a user's/page's/event's posted links.
|
ResponseList<Location> |
getLocations()
Returns the posts with location.
|
ResponseList<Location> |
getLocations(Reading reading)
Returns the posts with location.
|
ResponseList<Location> |
getLocations(java.lang.String userId)
Returns the posts with location.
|
ResponseList<Location> |
getLocations(java.lang.String userId,
Reading reading)
Returns the posts with location.
|
User |
getMe()
Returns the current user.
|
User |
getMe(Reading reading)
Returns the current user.
|
Message |
getMessage(java.lang.String messageId)
Returns a single message.
|
Message |
getMessage(java.lang.String messageId,
Reading reading)
Returns a single message.
|
ResponseList<Milestone> |
getMilestones()
Returns a list of the Page's milestones.
|
ResponseList<Milestone> |
getMilestones(Reading reading)
/**
Returns a list of the Page's milestones.
|
ResponseList<Milestone> |
getMilestones(java.lang.String pageId)
Returns a list of the Page's milestones.
|
ResponseList<Milestone> |
getMilestones(java.lang.String pageId,
Reading reading)
Returns a list of the Page's milestones.
|
ResponseList<Movie> |
getMovies()
Returns the movies listed on the current user's profile.
|
ResponseList<Movie> |
getMovies(Reading reading)
Returns the movies listed on the current user's profile.
|
ResponseList<Movie> |
getMovies(java.lang.String userId)
Returns the movies listed on a user's profile.
|
ResponseList<Movie> |
getMovies(java.lang.String userId,
Reading reading)
Returns the movies listed on a user's profile.
|
ResponseList<Music> |
getMusic()
Returns the music listed on the current user's profile.
|
ResponseList<Music> |
getMusic(Reading reading)
Returns the music listed on the current user's profile.
|
ResponseList<Music> |
getMusic(java.lang.String userId)
Returns the music listed on a user's profile.
|
ResponseList<Music> |
getMusic(java.lang.String userId,
Reading reading)
Returns the music listed on a user's profile.
|
ResponseList<Friend> |
getMutualFriends(java.lang.String friendUserId)
Returns the mutual friends between the current user and friend.
|
ResponseList<Friend> |
getMutualFriends(java.lang.String friendUserId,
Reading reading)
Returns the mutual friends between the current user and friend.
|
ResponseList<Friend> |
getMutualFriends(java.lang.String userId1,
java.lang.String userId2)
Returns the mutual friends between two users.
|
ResponseList<Friend> |
getMutualFriends(java.lang.String userId1,
java.lang.String userId2,
Reading reading)
Returns the mutual friends between two users.
|
Note |
getNote(java.lang.String noteId)
Returns a note.
|
Note |
getNote(java.lang.String noteId,
Reading reading)
Returns a note.
|
ResponseList<Comment> |
getNoteComments(java.lang.String noteId)
Returns all of the comments on a note.
|
ResponseList<Comment> |
getNoteComments(java.lang.String noteId,
Reading reading)
Returns all of the comments on a note.
|
ResponseList<Like> |
getNoteLikes(java.lang.String noteId)
Returns the likes made on a note.
|
ResponseList<Like> |
getNoteLikes(java.lang.String noteId,
Reading reading)
Returns the likes made on a note.
|
ResponseList<Note> |
getNotes()
Returns the current user's/page's notes.
|
ResponseList<Note> |
getNotes(Reading reading)
Returns the current user's/page's notes.
|
ResponseList<Note> |
getNotes(java.lang.String id)
Returns a user's/page's notes.
|
ResponseList<Note> |
getNotes(java.lang.String id,
Reading reading)
Returns a user's/page's notes.
|
ResponseList<Notification> |
getNotifications()
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(boolean includeRead)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(Reading reading)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(Reading reading,
boolean includeRead)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
boolean includeRead)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
Reading reading)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
Reading reading,
boolean includeRead)
Returns the notifications for a user.
|
Offer |
getOffer(java.lang.String offerId)
Returns the offer.
|
ResponseList<Offer> |
getOffers()
Returns a list of offers of the current page.
|
ResponseList<Offer> |
getOffers(Reading reading)
Returns a list of offers of the current page.
|
ResponseList<Offer> |
getOffers(java.lang.String pageId)
Returns a list of offers of the current page.
|
ResponseList<Offer> |
getOffers(java.lang.String pageId,
Reading reading)
Returns a list of offers of the current page.
|
ResponseList<Message> |
getOutbox()
Returns the messages in the current user's outbox.
|
ResponseList<Message> |
getOutbox(Reading reading)
Returns the messages in the current user's outbox.
|
ResponseList<Message> |
getOutbox(java.lang.String userId)
Returns the messages in a user's outbox.
|
ResponseList<Message> |
getOutbox(java.lang.String userId,
Reading reading)
Returns the messages in a user's outbox.
|
Page |
getPage()
Returns the current page.
|
Page |
getPage(Reading reading)
Returns the current page.
|
Page |
getPage(java.lang.String pageId)
Returns the page.
|
Page |
getPage(java.lang.String pageId,
Reading reading)
Returns the page.
|
ResponseList<Admin> |
getPageAdmins()
Returns a list of the Page's Admins.
|
ResponseList<Admin> |
getPageAdmins(Reading reading)
Returns a list of the Page's Admins.
|
ResponseList<Admin> |
getPageAdmins(java.lang.String pageId)
Returns a list of the Page's Admins.
|
ResponseList<Admin> |
getPageAdmins(java.lang.String pageId,
Reading reading)
Returns a list of the Page's Admins.
|
ResponseList<Insight> |
getPageInsights(java.lang.String pageId)
Returns the page's insights data.
|
ResponseList<Insight> |
getPageInsights(java.lang.String pageId,
Reading reading)
Returns the page's insights data.
|
java.net.URL |
getPagePictureURL()
Returns the url of a page's profile picture.
|
java.net.URL |
getPagePictureURL(PictureSize size)
Returns the url of a page's profile picture.
|
java.net.URL |
getPagePictureURL(java.lang.String pageId)
Returns the url of a page's profile picture.
|
java.net.URL |
getPagePictureURL(java.lang.String pageId,
PictureSize size)
Returns the url of a page's profile picture.
|
ResponseList<PageSetting> |
getPageSettings()
Returns the settings for the current page.
|
ResponseList<PageSetting> |
getPageSettings(java.lang.String pageId)
Returns the settings for the page.
|
ResponseList<Tagged> |
getPageTagged(java.lang.String pageId)
Returns the photos, videos, and posts in which the Page has been tagged.
|
ResponseList<Tagged> |
getPageTagged(java.lang.String pageId,
Reading reading)
Returns the photos, videos, and posts in which the Page has been tagged.
|
java.util.List<Permission> |
getPermissions()
Returns the permissions granted the current user to the current application.
|
java.util.List<Permission> |
getPermissions(java.lang.String userId)
Returns the permissions granted a user to the current application.
|
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.
|
java.net.URL |
getPictureURL()
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(int width,
int height)
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(PictureSize size)
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId)
Returns the url of a user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId,
int width,
int height)
Returns the url of a user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId,
PictureSize size)
Returns the url of a user's profile picture.
|
ResponseList<Poke> |
getPokes()
Returns the current user's pokes.
|
ResponseList<Poke> |
getPokes(Reading reading)
Returns the current user's pokes.
|
ResponseList<Poke> |
getPokes(java.lang.String userId)
Returns a user's pokes.
|
ResponseList<Poke> |
getPokes(java.lang.String userId,
Reading reading)
Returns a user's pokes.
|
Post |
getPost(java.lang.String postId)
Returns a single post.
|
Post |
getPost(java.lang.String postId,
Reading reading)
Returns a single post.
|
ResponseList<Comment> |
getPostComments(java.lang.String postId)
Returns all of the comments on a post.
|
ResponseList<Comment> |
getPostComments(java.lang.String postId,
Reading reading)
Returns all of the comments on a post.
|
ResponseList<Insight> |
getPostInsights(java.lang.String postId) |
ResponseList<Like> |
getPostLikes(java.lang.String postId)
Returns the likes on a post.
|
ResponseList<Like> |
getPostLikes(java.lang.String postId,
Reading reading)
Returns the likes on a post.
|
ResponseList<Post> |
getPosts()
Returns the current user's/page's own posts.
|
ResponseList<Post> |
getPosts(Reading reading)
Returns the current user's/page's own posts.
|
ResponseList<Post> |
getPosts(java.lang.String id)
Returns the user's/page's own posts.
|
ResponseList<Post> |
getPosts(java.lang.String id,
Reading reading)
Returns the user's/page's own posts.
|
ResponseList<Post> |
getPromotablePosts()
Returns the current Page's own posts, including unpublished and scheduled posts.
|
ResponseList<Post> |
getPromotablePosts(Reading reading)
Returns the current Page's own posts, including unpublished and scheduled posts.
|
ResponseList<Post> |
getPromotablePosts(java.lang.String pageId)
Returns the Page's own posts, including unpublished and scheduled posts.
|
ResponseList<Post> |
getPromotablePosts(java.lang.String pageId,
Reading reading)
Returns the Page's own posts, including unpublished and scheduled posts.
|
Question |
getQuestion(java.lang.String questionId)
Returns a single question.
|
Question |
getQuestion(java.lang.String questionId,
Reading reading)
Returns a single question.
|
ResponseList<Question.Option> |
getQuestionOptions(java.lang.String questionId)
Returns the options available as answers to the question.
|
ResponseList<Question.Option> |
getQuestionOptions(java.lang.String questionId,
Reading reading)
Returns the options available as answers to the question.
|
ResponseList<QuestionVotes> |
getQuestionOptionVotes(java.lang.String questionId)
Returns the votes a particular option to a question has received.
|
ResponseList<Question> |
getQuestions()
Returns the current user's/page's questions.
|
ResponseList<Question> |
getQuestions(Reading reading)
Returns the current user's/page's questions.
|
ResponseList<Question> |
getQuestions(java.lang.String id)
Returns a user's/page's questions.
|
ResponseList<Question> |
getQuestions(java.lang.String id,
Reading reading)
Returns a user's/page's questions.
|
private facebook4j.internal.http.HttpResponse |
getRaw(java.lang.String url) |
ResponseList<RSVPStatus> |
getRSVPStatusAsInvited(java.lang.String eventId)
Returns a list of invitees for the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusAsInvited(java.lang.String eventId,
java.lang.String userId)
Checks a specific user has been invited to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusAsNoreply(java.lang.String eventId)
Returns a list of all users who have not replied to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusAsNoreply(java.lang.String eventId,
java.lang.String userId)
Returns a single user who have not replied to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInAttending(java.lang.String eventId)
Returns a list of all users who responded 'yes' to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInAttending(java.lang.String eventId,
java.lang.String userId)
Checks a specific user responded 'yes' to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInDeclined(java.lang.String eventId)
Returns a list of all users who responded 'no' to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInDeclined(java.lang.String eventId,
java.lang.String userId)
Checks a specific user responded 'no' to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInMaybe(java.lang.String eventId)
Returns a list of all users who responded 'maybe' to the event.
|
ResponseList<RSVPStatus> |
getRSVPStatusInMaybe(java.lang.String eventId,
java.lang.String userId)
Checks a specific user responded 'maybe' to the event.
|
ResponseList<Score> |
getScores()
Returns the current scores for a user in games.
|
ResponseList<Score> |
getScores(Reading reading)
Returns the current scores for a user in games.
|
ResponseList<Score> |
getScores(java.lang.String userId)
Returns the current scores for the current user in games.
|
ResponseList<Score> |
getScores(java.lang.String userId,
Reading reading)
Returns the current scores for the current user in games.
|
java.net.URL |
getSSLPictureURL()
Returns the url of the current user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(PictureSize size)
Returns the url of the current user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(java.lang.String userId)
Returns the url of a user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(java.lang.String userId,
PictureSize size)
Returns the url of a user's profile picture over a secure connection.
|
ResponseList<Post> |
getStatuses()
Returns the current user's status updates.
|
ResponseList<Post> |
getStatuses(Reading reading)
Returns the current user's status updates.
|
ResponseList<Post> |
getStatuses(java.lang.String id)
Returns the user's/page's status updates.
|
ResponseList<Post> |
getStatuses(java.lang.String id,
Reading reading)
Returns the user's/page's status updates.
|
ResponseList<Subscribedto> |
getSubscribedto()
Returns people the current user is subscribed to.
|
ResponseList<Subscribedto> |
getSubscribedto(Reading reading)
Returns people the current user is subscribed to.
|
ResponseList<Subscribedto> |
getSubscribedto(java.lang.String userId)
Returns people a user is subscribed to.
|
ResponseList<Subscribedto> |
getSubscribedto(java.lang.String userId,
Reading reading)
Returns people a user is subscribed to.
|
ResponseList<Subscriber> |
getSubscribers()
Returns the current user's subscribers.
|
ResponseList<Subscriber> |
getSubscribers(Reading reading)
Returns the current user's subscribers.
|
ResponseList<Subscriber> |
getSubscribers(java.lang.String userId)
Returns a user's subscribers.
|
ResponseList<Subscriber> |
getSubscribers(java.lang.String userId,
Reading reading)
Returns a user's subscribers.
|
ResponseList<Tab> |
getTabs()
Returns the current Page's profile tabs.
|
ResponseList<Tab> |
getTabs(Reading reading)
Returns the current Page's profile tabs.
|
ResponseList<Tab> |
getTabs(java.lang.String pageId)
Returns the Page's profile tabs.
|
ResponseList<Tab> |
getTabs(java.lang.String pageId,
Reading reading)
Returns the Page's profile tabs.
|
ResponseList<TaggableFriend> |
getTaggableFriends()
Returns the list of friends of the current user.
|
ResponseList<TaggableFriend> |
getTaggableFriends(Reading reading)
Returns the list of friends of the current user.
|
ResponseList<TaggableFriend> |
getTaggableFriends(java.lang.String userId)
Returns the list of friends of the current user.
|
ResponseList<TaggableFriend> |
getTaggableFriends(java.lang.String userId,
Reading reading)
Returns the list of friends of the current user.
|
ResponseList<Post> |
getTagged()
Returns the posts the current user is tagged in.
|
ResponseList<Post> |
getTagged(Reading reading)
Returns the posts the current user is tagged in.
|
ResponseList<Post> |
getTagged(java.lang.String userId)
Returns the posts a user is tagged in.
|
ResponseList<Post> |
getTagged(java.lang.String userId,
Reading reading)
Returns the posts the user is tagged in.
|
ResponseList<PlaceTag> |
getTaggedPlaces()
Returns a list of tags of this person at a place in a photo, video, post, status or link.
|
ResponseList<PlaceTag> |
getTaggedPlaces(Reading reading)
Returns a list of tags of this person at a place in a photo, video, post, status or link.
|
ResponseList<PlaceTag> |
getTaggedPlaces(java.lang.String userId)
Returns a list of tags of this person at a place in a photo, video, post, status or link.
|
ResponseList<PlaceTag> |
getTaggedPlaces(java.lang.String userId,
Reading reading)
Returns a list of tags of this person at a place in a photo, video, post, status or link.
|
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.
|
ResponseList<Television> |
getTelevision()
Returns the television listed on the current user's profile.
|
ResponseList<Television> |
getTelevision(Reading reading)
Returns the television listed on the current user's profile.
|
ResponseList<Television> |
getTelevision(java.lang.String userId)
Returns the television listed on a user's profile.
|
ResponseList<Television> |
getTelevision(java.lang.String userId,
Reading reading)
Returns the television listed on a user's profile.
|
ResponseList<TestUser> |
getTestUsers(java.lang.String appId)
Returns test users associated with a particular app.
|
ResponseList<TestUser> |
getTestUsers(java.lang.String appId,
java.lang.Integer limit)
Returns test users associated with a particular app.
|
ResponseList<Message> |
getUpdates()
Returns the updates in the current user's inbox.
|
ResponseList<Message> |
getUpdates(Reading reading)
Returns the updates in the current user's inbox.
|
ResponseList<Message> |
getUpdates(java.lang.String userId)
Returns the updates in a user's inbox.
|
ResponseList<Message> |
getUpdates(java.lang.String userId,
Reading reading)
Returns the updates in a user's inbox.
|
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(java.lang.String id)
Returns All of the updates photos of the current user/page.
|
ResponseList<Photo> |
getUploadedPhotos(java.lang.String id,
Reading reading)
Returns All of the updates photos of the current user/page.
|
User |
getUser(java.lang.String userId)
Returns a given user, specified by ID.
|
User |
getUser(java.lang.String userId,
Reading reading)
Returns a given user, specified by ID.
|
ResponseList<Like> |
getUserLikes()
Returns all the pages the current user has liked.
|
ResponseList<Like> |
getUserLikes(Reading reading)
Returns all the pages the current user has liked.
|
ResponseList<Like> |
getUserLikes(java.lang.String userId)
Returns all the pages a user has liked.
|
ResponseList<Like> |
getUserLikes(java.lang.String userId,
Reading reading)
Returns all the pages a user has liked.
|
java.util.List<User> |
getUsers(java.lang.String... ids)
Returns the users specified by IDs.
|
Video |
getVideo(java.lang.String videoId)
Returns a single video.
|
Video |
getVideo(java.lang.String videoId,
Reading reading)
Returns a single video.
|
ResponseList<Comment> |
getVideoComments(java.lang.String videoId)
Returns the comments on a video.
|
ResponseList<Comment> |
getVideoComments(java.lang.String videoId,
Reading reading)
Returns the comments on a video.
|
java.net.URL |
getVideoCover(java.lang.String videoId)
Returns url of the image which represents the content of a video.
|
ResponseList<Like> |
getVideoLikes(java.lang.String videoId)
Returns all of the likes on a video.
|
ResponseList<Like> |
getVideoLikes(java.lang.String videoId,
Reading reading)
Returns all of the likes on a video.
|
ResponseList<Video> |
getVideos()
Returns the videos the current user has been tagged in / the current page has uploaded.
|
ResponseList<Video> |
getVideos(Reading reading)
Returns the videos the current user has been tagged in / the current page has uploaded.
|
ResponseList<Video> |
getVideos(java.lang.String id)
Returns the videos a user has been tagged in / the current page has uploaded.
|
ResponseList<Video> |
getVideos(java.lang.String id,
Reading reading)
Returns the videos a user has been tagged in / the current page has uploaded.
|
GroupMethods |
groups() |
InsightMethods |
insights() |
boolean |
installTab(java.lang.String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page.
|
boolean |
installTab(java.lang.String pageId,
java.lang.String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page.
|
boolean |
inviteToEvent(java.lang.String eventId,
java.lang.String userId)
Invites a user to the event.
|
boolean |
inviteToEvent(java.lang.String eventId,
java.lang.String[] userIds)
Invites users to the event.
|
private boolean |
isOk(facebook4j.internal.http.HttpResponse response) |
boolean |
likeAlbum(java.lang.String albumId)
Likes the album.
|
boolean |
likeCheckin(java.lang.String checkinId)
Likes the checkin.
|
boolean |
likeComment(java.lang.String commentId)
Likes the comment.
|
boolean |
likeLink(java.lang.String linkId)
Likes the link.
|
boolean |
likeNote(java.lang.String noteId)
Likes the note.
|
boolean |
likePhoto(java.lang.String photoId)
Likes the photo.
|
boolean |
likePost(java.lang.String postId)
Likes the post.
|
LikeMethods |
likes() |
boolean |
likeVideo(java.lang.String videoId)
Likes the video.
|
LinkMethods |
links() |
LocationMethods |
locations() |
boolean |
makeFriendTestUser(TestUser testUser1,
TestUser testUser2)
Makes friends connections for a test user with other test users.
|
boolean |
markNotificationAsRead(java.lang.String notificationId)
Marks the notification as read.
|
MessageMethods |
messages() |
NoteMethods |
notes() |
NotificationMethods |
notifications() |
PageMethods |
pages() |
private boolean |
parseBoolean(facebook4j.internal.http.HttpResponse res) |
PermissionMethods |
permissions() |
PhotoMethods |
photos() |
PokeMethods |
pokes() |
private facebook4j.internal.http.HttpResponse |
post(java.lang.String url) |
private facebook4j.internal.http.HttpResponse |
post(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters) |
java.lang.String |
postAchievement(java.lang.String userId,
java.net.URL achievementURL)
Posts the achievement for a user.
|
java.lang.String |
postAchievement(java.net.URL achievementURL)
Posts the achievement for the current user.
|
java.lang.String |
postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to the current page's wall.
|
java.lang.String |
postBackdatingFeed(java.lang.String pageId,
BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to a page's wall.
|
java.lang.String |
postEventLink(java.lang.String eventId,
java.net.URL link)
Posts the link on a event's wall.
|
java.lang.String |
postEventLink(java.lang.String eventId,
java.net.URL link,
java.lang.String message)
Posts the link on a event's wall.
|
java.lang.String |
postEventPhoto(java.lang.String eventId,
Media source)
Posts the photo on a event's wall.
|
java.lang.String |
postEventPhoto(java.lang.String eventId,
Media source,
java.lang.String message)
Posts the photo on a event's wall.
|
java.lang.String |
postEventStatusMessage(java.lang.String eventId,
java.lang.String message)
Posts the status message on a event's wall.
|
java.lang.String |
postEventVideo(java.lang.String eventId,
Media source)
Posts the video on a event's wall.
|
java.lang.String |
postEventVideo(java.lang.String eventId,
Media source,
java.lang.String title,
java.lang.String description)
Posts the video on a event's wall.
|
java.lang.String |
postFeed(PostUpdate postUpdate)
Creates the post.
|
java.lang.String |
postFeed(java.lang.String id,
PostUpdate postUpdate)
Creates the post.
|
java.lang.String |
postGroupFeed(java.lang.String groupId,
PostUpdate postUpdate)
Creates the post on a group's wall.
|
java.lang.String |
postGroupLink(java.lang.String groupId,
java.net.URL linkURL)
Posts the link on a group's wall.
|
java.lang.String |
postGroupLink(java.lang.String groupId,
java.net.URL linkURL,
java.lang.String message)
Posts the link on a group's wall.
|
java.lang.String |
postGroupStatusMessage(java.lang.String groupId,
java.lang.String message)
Posts the status message on a group's wall.
|
java.lang.String |
postLink(java.lang.String userId,
java.net.URL link)
Creates the link.
|
java.lang.String |
postLink(java.lang.String userId,
java.net.URL link,
java.lang.String message)
Creates the link.
|
java.lang.String |
postLink(java.net.URL link)
Creates the link.
|
java.lang.String |
postLink(java.net.URL link,
java.lang.String message)
Creates the link.
|
java.lang.String |
postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
Posts a photo to the current page's wall.
|
java.lang.String |
postPagePhoto(java.lang.String pageId,
PagePhotoUpdate pagePhotoUpdate)
Posts a photo to a page's wall.
|
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.
|
PostMethods |
posts() |
boolean |
postScore(int scoreValue)
Posts the score for the current user.
|
boolean |
postScore(java.lang.String userId,
int scoreValue)
Posts the score for a user.
|
java.lang.String |
postStatusMessage(java.lang.String message)
Creates the status message.
|
java.lang.String |
postStatusMessage(java.lang.String id,
java.lang.String message)
Creates the status message.
|
java.lang.String |
postVideo(java.lang.String id,
VideoUpdate videoUpdate)
Posts the video to a user's/page's wall.
|
java.lang.String |
postVideo(VideoUpdate videoUpdate)
Posts the video to the current user's/page's wall.
|
QuestionMethods |
questions() |
RawAPIMethods |
rawAPI() |
boolean |
removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
Removes the user from a friend list.
|
boolean |
revokeAllPermissions()
Revokes all permissions from the current application.
|
boolean |
revokeAllPermissions(java.lang.String userId)
Revokes all permissions from the current application.
|
boolean |
revokePermission(java.lang.String permissionName)
Revokes a specific permission from the current application.
|
boolean |
revokePermission(java.lang.String userId,
java.lang.String permissionName)
Revokes a specific permission from the current application.
|
boolean |
rsvpEventAsAttending(java.lang.String eventId)
RSVPs the current user as 'attending' the event.
|
boolean |
rsvpEventAsDeclined(java.lang.String eventId)
RSVPs the current user as 'declined' the event.
|
boolean |
rsvpEventAsMaybe(java.lang.String eventId)
RSVPs the current user as 'maybe' the event.
|
SearchMethods |
search() |
ResponseList<facebook4j.internal.org.json.JSONObject> |
search(java.lang.String query)
Searches every type all public objects.
|
ResponseList<facebook4j.internal.org.json.JSONObject> |
search(java.lang.String query,
Reading reading)
Searches every type all public objects.
|
ResponseList<Checkin> |
searchCheckins()
Returns latest checkins.
|
ResponseList<Checkin> |
searchCheckins(Reading reading)
Returns latest checkins.
|
ResponseList<Event> |
searchEvents(java.lang.String query)
Searches events.
|
ResponseList<Event> |
searchEvents(java.lang.String query,
Reading reading)
Searches events.
|
ResponseList<Group> |
searchGroups(java.lang.String query)
Searches groups.
|
ResponseList<Group> |
searchGroups(java.lang.String query,
Reading reading)
Searches groups.
|
ResponseList<Location> |
searchLocations(GeoLocation center,
int distance)
Returns locations near a geographical location.
|
ResponseList<Location> |
searchLocations(GeoLocation center,
int distance,
Reading reading)
Returns locations near a geographical location.
|
ResponseList<Location> |
searchLocations(java.lang.String placeId)
Returns a particular place.
|
ResponseList<Location> |
searchLocations(java.lang.String placeId,
Reading reading)
Returns a particular place.
|
ResponseList<Page> |
searchPages(java.lang.String query)
Searches pages.
|
ResponseList<Page> |
searchPages(java.lang.String query,
Reading reading)
Searches pages.
|
ResponseList<Place> |
searchPlaces(java.lang.String query)
Searches places.
|
ResponseList<Place> |
searchPlaces(java.lang.String query,
GeoLocation center,
int distance)
Searches places.
|
ResponseList<Place> |
searchPlaces(java.lang.String query,
GeoLocation center,
int distance,
Reading reading)
Searches places.
|
ResponseList<Place> |
searchPlaces(java.lang.String query,
Reading reading)
Searches places.
|
ResponseList<Post> |
searchPosts(java.lang.String query)
Searches public posts.
|
ResponseList<Post> |
searchPosts(java.lang.String query,
Reading reading)
Searches public posts.
|
ResponseList<User> |
searchUsers(java.lang.String query)
Searches users.
|
ResponseList<User> |
searchUsers(java.lang.String query,
Reading reading)
Searches users.
|
SubscribeMethods |
subscribes() |
TestUserMethods |
testUsers() |
boolean |
unblock(java.lang.String userId)
Unblocks the blocked user for the current page.
|
boolean |
unblock(java.lang.String pageId,
java.lang.String userId)
Unblocks the blocked user for the page.
|
boolean |
uninviteFromEvent(java.lang.String eventId,
java.lang.String userId)
Un-invites user from the event.
|
boolean |
unlikeAlbum(java.lang.String albumId)
Unlikes the album.
|
boolean |
unlikeCheckin(java.lang.String checkinId)
Unlikes the checkin.
|
boolean |
unlikeComment(java.lang.String commentId)
Unlikes the comment.
|
boolean |
unlikeLink(java.lang.String linkId)
Unlikes the link.
|
boolean |
unlikeNote(java.lang.String noteId)
Unlikes the note.
|
boolean |
unlikePhoto(java.lang.String photoId)
Unlikes the photo.
|
boolean |
unlikePost(java.lang.String postId)
Unlikes the post.
|
boolean |
unlikeVideo(java.lang.String videoId)
Unlikes the video.
|
boolean |
updateEventPicture(java.lang.String eventId,
Media source)
Updates the event's profile picture.
|
boolean |
updatePageBasicAttributes(PageUpdate pageUpdate)
Updates a Page's basic attributes.
|
boolean |
updatePageBasicAttributes(java.lang.String pageId,
PageUpdate pageUpdate)
Updates a Page's basic attributes.
|
boolean |
updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate)
Updates the profile photo for the current page.
|
boolean |
updatePageCoverPhoto(java.lang.String pageId,
PageCoverUpdate pageCoverUpdate)
Updates the profile photo for the current page.
|
boolean |
updatePageProfilePhoto(Media source)
Updates the profile photo for the current Page.
|
boolean |
updatePageProfilePhoto(java.lang.String pageId,
Media source)
Updates the profile photo for a Page.
|
boolean |
updatePageProfilePhoto(java.lang.String pageId,
java.net.URL picture)
Updates the profile photo for a Page.
|
boolean |
updatePageProfilePhoto(java.net.URL picture)
Updates the profile photo for the current Page.
|
boolean |
updatePageSetting(PageSettingUpdate pageSettingUpdate)
Updates the setting for the current page.
|
boolean |
updatePageSetting(java.lang.String pageId,
PageSettingUpdate pageSettingUpdate)
Updates the setting for the page.
|
boolean |
updateTab(java.lang.String pageId,
java.lang.String tabId,
TabUpdate tabUpdate)
Updates an installed profile_tab for the page.
|
boolean |
updateTab(java.lang.String tabId,
TabUpdate tabUpdate)
Updates an installed profile_tab for the current page.
|
boolean |
updateTagOnPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
Updates the position of the tag on a photo.
|
UserMethods |
users() |
VideoMethods |
videos() |
ensureAuthorizationEnabled, equals, extendTokenExpiration, extendTokenExpiration, fillInIDAndName, getAuthorization, getConfiguration, getId, getName, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessTokenInfo, getOAuthAccessTokenInfo, getOAuthAppAccessToken, getOAuthAuthorizationURL, getOAuthAuthorizationURL, getOAuthAuthorizationURL, getOAuthCallbackURL, getOAuthDeviceCode, getOAuthDeviceToken, getOAuthReAuthenticationURL, hashCode, setFactory, setHttp, setOAuthAccessToken, setOAuthAppId, setOAuthCallbackURL, setOAuthPermissions, shutdown, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitextendTokenExpiration, extendTokenExpiration, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessTokenInfo, getOAuthAccessTokenInfo, getOAuthAppAccessToken, getOAuthAuthorizationURL, getOAuthAuthorizationURL, getOAuthAuthorizationURL, getOAuthCallbackURL, getOAuthDeviceCode, getOAuthDeviceToken, getOAuthReAuthenticationURL, setOAuthAccessToken, setOAuthAppId, setOAuthCallbackURL, setOAuthPermissionsgetAuthorization, getConfiguration, getId, getName, shutdownprivate static final long serialVersionUID
FacebookImpl(Configuration conf, Authorization auth)
private java.lang.String buildEndpoint(java.lang.String id)
private java.lang.String buildEndpoint(java.lang.String id,
Reading reading)
private java.lang.String buildEndpoint(java.lang.String id,
java.lang.String connection)
private java.lang.String buildEndpoint(java.lang.String id,
java.lang.String connection,
Reading reading)
private java.lang.String buildEndpoint(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> parameters)
private java.lang.String buildVideoEndpoint(java.lang.String id,
java.lang.String connection)
private java.lang.String buildVideoEndpoint(java.lang.String id,
java.lang.String connection,
Reading reading)
private java.lang.String buildSearchEndpoint(java.lang.String query,
java.lang.String objectType,
Reading reading)
public User getMe() throws FacebookException
UserMethodsgetMe in interface UserMethodsFacebookException - when Facebook service or network is unavailablepublic User getMe(Reading reading) throws FacebookException
UserMethodsgetMe in interface UserMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic User getUser(java.lang.String userId) throws FacebookException
UserMethodsgetUser in interface UserMethodsuserId - the ID of the userFacebookException - when Facebook service or network is unavailablepublic User getUser(java.lang.String userId, Reading reading) throws FacebookException
UserMethodsgetUser in interface UserMethodsuserId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL()
throws FacebookException
UserMethodsgetPictureURL in interface UserMethodsFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL(PictureSize size) throws FacebookException
UserMethodsgetPictureURL in interface UserMethodssize - picture sizeFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL(int width,
int height)
throws FacebookException
UserMethodsgetPictureURL in interface UserMethodswidth - width of the pictureheight - height of the pictureFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL(java.lang.String userId)
throws FacebookException
UserMethodsgetPictureURL in interface UserMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
UserMethodsgetPictureURL in interface UserMethodsuserId - the ID of a usersize - picture sizeFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPictureURL(java.lang.String userId,
int width,
int height)
throws FacebookException
UserMethodsgetPictureURL in interface UserMethodsuserId - the ID of a userwidth - width of the pictureheight - height of the pictureFacebookException - when Facebook service or network is unavailablepublic java.net.URL getSSLPictureURL()
throws FacebookException
UserMethodsgetSSLPictureURL in interface UserMethodsFacebookException - when Facebook service or network is unavailablepublic java.net.URL getSSLPictureURL(PictureSize size) throws FacebookException
UserMethodsgetSSLPictureURL in interface UserMethodssize - picture sizeFacebookException - when Facebook service or network is unavailablepublic java.net.URL getSSLPictureURL(java.lang.String userId)
throws FacebookException
UserMethodsgetSSLPictureURL in interface UserMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic java.net.URL getSSLPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
UserMethodsgetSSLPictureURL in interface UserMethodsuserId - the ID of a usersize - picture sizeFacebookException - when Facebook service or network is unavailablepublic java.util.List<User> getUsers(java.lang.String... ids) throws FacebookException
UserMethodsgetUsers in interface UserMethodsids - the IDs of usersFacebookExceptionpublic ResponseList<Account> getAccounts() throws FacebookException
AccountMethodsgetAccounts in interface AccountMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Account> getAccounts(Reading reading) throws FacebookException
AccountMethodsgetAccounts in interface AccountMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Account> getAccounts(java.lang.String userId) throws FacebookException
AccountMethodsgetAccounts in interface AccountMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Account> getAccounts(java.lang.String userId, Reading reading) throws FacebookException
AccountMethodsgetAccounts in interface AccountMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Achievement> getAchievements() throws FacebookException
GameMethodsgetAchievements in interface GameMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Achievement> getAchievements(Reading reading) throws FacebookException
GameMethodsgetAchievements in interface GameMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Achievement> getAchievements(java.lang.String userId) throws FacebookException
GameMethodsgetAchievements in interface GameMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Achievement> getAchievements(java.lang.String userId, Reading reading) throws FacebookException
GameMethodsgetAchievements in interface GameMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String postAchievement(java.net.URL achievementURL)
throws FacebookException
GameMethodspostAchievement in interface GameMethodsachievementURL - the unique URL of the achievement which the current user achievedFacebookException - when Facebook service or network is unavailablepublic java.lang.String postAchievement(java.lang.String userId,
java.net.URL achievementURL)
throws FacebookException
GameMethodspostAchievement in interface GameMethodsuserId - the ID of a userachievementURL - the unique URL of the achievement which the user achievedFacebookException - when Facebook service or network is unavailablepublic boolean deleteAchievement(java.net.URL achievementURL)
throws FacebookException
GameMethodsdeleteAchievement in interface GameMethodsachievementURL - the unique URL of the achievement to deleteFacebookException - when Facebook service or network is unavailablepublic boolean deleteAchievement(java.lang.String userId,
java.net.URL achievementURL)
throws FacebookException
GameMethodsdeleteAchievement in interface GameMethodsuserId - the ID of a userachievementURL - the unique URL of the achievement to deleteFacebookException - when Facebook service or network is unavailablepublic ResponseList<Activity> getActivities() throws FacebookException
ActivityMethodsgetActivities in interface ActivityMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Activity> getActivities(Reading reading) throws FacebookException
ActivityMethodsgetActivities in interface ActivityMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Activity> getActivities(java.lang.String userId) throws FacebookException
ActivityMethodsgetActivities in interface ActivityMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Activity> getActivities(java.lang.String userId, Reading reading) throws FacebookException
ActivityMethodsgetActivities in interface ActivityMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Album> getAlbums() throws FacebookException
AlbumMethodsgetAlbums in interface AlbumMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Album> getAlbums(Reading reading) throws FacebookException
AlbumMethodsgetAlbums in interface AlbumMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Album> getAlbums(java.lang.String id) throws FacebookException
AlbumMethodsgetAlbums in interface AlbumMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Album> getAlbums(java.lang.String id, Reading reading) throws FacebookException
AlbumMethodsgetAlbums in interface AlbumMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Album getAlbum(java.lang.String albumId) throws FacebookException
AlbumMethodsgetAlbum in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic Album getAlbum(java.lang.String albumId, Reading reading) throws FacebookException
AlbumMethodsgetAlbum in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createAlbum(AlbumUpdate albumUpdate) throws FacebookException
AlbumMethodscreateAlbum in interface AlbumMethodsalbumUpdate - the album to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String createAlbum(java.lang.String userId,
AlbumUpdate albumUpdate)
throws FacebookException
AlbumMethodscreateAlbum in interface AlbumMethodsuserId - the ID of a useralbumUpdate - the album to be createdFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getAlbumPhotos(java.lang.String albumId) throws FacebookException
AlbumMethodsgetAlbumPhotos in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getAlbumPhotos(java.lang.String albumId, Reading reading) throws FacebookException
AlbumMethodsgetAlbumPhotos in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String addAlbumPhoto(java.lang.String albumId,
Media source)
throws FacebookException
AlbumMethodsaddAlbumPhoto in interface AlbumMethodsalbumId - the ID of a albumsource - photo contentFacebookException - when Facebook service or network is unavailablepublic java.lang.String addAlbumPhoto(java.lang.String albumId,
Media source,
java.lang.String message)
throws FacebookException
AlbumMethodsaddAlbumPhoto in interface AlbumMethodsalbumId - the ID of a albumsource - photo contentmessage - photo descriptionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getAlbumComments(java.lang.String albumId) throws FacebookException
AlbumMethodsgetAlbumComments in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getAlbumComments(java.lang.String albumId, Reading reading) throws FacebookException
AlbumMethodsgetAlbumComments in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentAlbum(java.lang.String albumId,
java.lang.String message)
throws FacebookException
AlbumMethodscommentAlbum in interface AlbumMethodsalbumId - the ID of a albummessage - comment textFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentAlbum(java.lang.String albumId,
CommentUpdate commentUpdate)
throws FacebookException
AlbumMethodscommentAlbum in interface AlbumMethodsalbumId - the ID of a albumcommentUpdate - comment contentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getAlbumLikes(java.lang.String albumId) throws FacebookException
AlbumMethodsgetAlbumLikes in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getAlbumLikes(java.lang.String albumId, Reading reading) throws FacebookException
AlbumMethodsgetAlbumLikes in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeAlbum(java.lang.String albumId)
throws FacebookException
AlbumMethodslikeAlbum in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic boolean unlikeAlbum(java.lang.String albumId)
throws FacebookException
AlbumMethodsunlikeAlbum in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic java.net.URL getAlbumCoverPhoto(java.lang.String albumId)
throws FacebookException
AlbumMethodsgetAlbumCoverPhoto in interface AlbumMethodsalbumId - the ID of a albumFacebookException - when Facebook service or network is unavailablepublic ResponseList<Book> getBooks() throws FacebookException
FavoriteMethodsgetBooks in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Book> getBooks(Reading reading) throws FacebookException
FavoriteMethodsgetBooks in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Book> getBooks(java.lang.String userId) throws FacebookException
FavoriteMethodsgetBooks in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Book> getBooks(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetBooks in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> getCheckins() throws FacebookException
CheckinMethodsgetCheckins in interface CheckinMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> getCheckins(Reading reading) throws FacebookException
CheckinMethodsgetCheckins in interface CheckinMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> getCheckins(java.lang.String id) throws FacebookException
CheckinMethodsgetCheckins in interface CheckinMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> getCheckins(java.lang.String id, Reading reading) throws FacebookException
CheckinMethodsgetCheckins in interface CheckinMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String checkin(CheckinUpdate checkinUpdate) throws FacebookException
CheckinMethodscheckin in interface CheckinMethodscheckinUpdate - the checkin to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String checkin(java.lang.String userId,
CheckinUpdate checkinUpdate)
throws FacebookException
CheckinMethodscheckin in interface CheckinMethodsuserId - the ID of a usercheckinUpdate - the checkin to be createdFacebookException - when Facebook service or network is unavailablepublic Checkin getCheckin(java.lang.String checkinId) throws FacebookException
CheckinMethodsgetCheckin in interface CheckinMethodscheckinId - the ID of a checkinFacebookException - when Facebook service or network is unavailablepublic Checkin getCheckin(java.lang.String checkinId, Reading reading) throws FacebookException
CheckinMethodsgetCheckin in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getCheckinComments(java.lang.String checkinId) throws FacebookException
CheckinMethodsgetCheckinComments in interface CheckinMethodscheckinId - the ID of a checkinFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getCheckinComments(java.lang.String checkinId, Reading reading) throws FacebookException
CheckinMethodsgetCheckinComments in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentCheckin(java.lang.String checkinId,
java.lang.String message)
throws FacebookException
CheckinMethodscommentCheckin in interface CheckinMethodscheckinId - the ID of a checkinmessage - comment textFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getCheckinLikes(java.lang.String checkinId) throws FacebookException
CheckinMethodsgetCheckinLikes in interface CheckinMethodscheckinId - the ID of a checkinFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getCheckinLikes(java.lang.String checkinId, Reading reading) throws FacebookException
CheckinMethodsgetCheckinLikes in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeCheckin(java.lang.String checkinId)
throws FacebookException
CheckinMethodslikeCheckin in interface CheckinMethodscheckinId - the ID of a checkinFacebookException - when Facebook service or network is unavailablepublic boolean unlikeCheckin(java.lang.String checkinId)
throws FacebookException
CheckinMethodsunlikeCheckin in interface CheckinMethodscheckinId - the ID of a checkinFacebookException - when Facebook service or network is unavailablepublic Domain getDomain(java.lang.String domainId) throws FacebookException
DomainMethodsgetDomain in interface DomainMethodsdomainId - the ID of a website domainFacebookException - when Facebook service or network is unavailablepublic Domain getDomainByName(java.lang.String domainName) throws FacebookException
DomainMethodsgetDomainByName in interface DomainMethodsdomainName - the name of a website domainFacebookException - when Facebook service or network is unavailablepublic java.util.List<Domain> getDomainsByName(java.lang.String... domainName) throws FacebookException
DomainMethodsgetDomainsByName in interface DomainMethodsdomainName - the name list of website domainFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> getEvents() throws FacebookException
EventMethodsgetEvents in interface EventMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> getEvents(Reading reading) throws FacebookException
EventMethodsgetEvents in interface EventMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> getEvents(java.lang.String id) throws FacebookException
EventMethodsgetEvents in interface EventMethodsid - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> getEvents(java.lang.String id, Reading reading) throws FacebookException
EventMethodsgetEvents in interface EventMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createEvent(EventUpdate eventUpdate) throws FacebookException
EventMethodscreateEvent in interface EventMethodsFacebookException - when Facebook service or network is unavailablepublic java.lang.String createEvent(java.lang.String id,
EventUpdate eventUpdate)
throws FacebookException
EventMethodscreateEvent in interface EventMethodsid - the ID of a user/pageeventUpdate - a event to be createdFacebookException - when Facebook service or network is unavailablepublic Event getEvent(java.lang.String eventId) throws FacebookException
EventMethodsgetEvent in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic Event getEvent(java.lang.String eventId, Reading reading) throws FacebookException
EventMethodsgetEvent in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean editEvent(java.lang.String eventId,
EventUpdate eventUpdate)
throws FacebookException
EventMethodseditEvent in interface EventMethodseventId - the ID of a eventeventUpdate - the event to be updatedFacebookException - when Facebook service or network is unavailablepublic boolean deleteEvent(java.lang.String eventId)
throws FacebookException
EventMethodsdeleteEvent in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventLink(java.lang.String eventId,
java.net.URL link)
throws FacebookException
EventMethodspostEventLink in interface EventMethodseventId - the ID of a eventlink - link URLFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventLink(java.lang.String eventId,
java.net.URL link,
java.lang.String message)
throws FacebookException
EventMethodspostEventLink in interface EventMethodseventId - the ID of a eventlink - link URLmessage - link messageFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventStatusMessage(java.lang.String eventId,
java.lang.String message)
throws FacebookException
EventMethodspostEventStatusMessage in interface EventMethodseventId - the ID of a eventmessage - status message contentFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusAsNoreply(java.lang.String eventId) throws FacebookException
EventMethodsgetRSVPStatusAsNoreply in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusAsNoreply(java.lang.String eventId, java.lang.String userId) throws FacebookException
EventMethodsgetRSVPStatusAsNoreply in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusAsInvited(java.lang.String eventId) throws FacebookException
EventMethodsgetRSVPStatusAsInvited in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusAsInvited(java.lang.String eventId, java.lang.String userId) throws FacebookException
EventMethodsgetRSVPStatusAsInvited in interface EventMethodseventId - the ID of a eventuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean inviteToEvent(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethodsinviteToEvent in interface EventMethodseventId - the ID of a eventuserId - the ID of the userFacebookException - when Facebook service or network is unavailablepublic boolean inviteToEvent(java.lang.String eventId,
java.lang.String[] userIds)
throws FacebookException
EventMethodsinviteToEvent in interface EventMethodseventId - the ID of a eventuserIds - the IDs of usersFacebookException - when Facebook service or network is unavailablepublic boolean uninviteFromEvent(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethodsuninviteFromEvent in interface EventMethodseventId - the ID of a eventuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInAttending(java.lang.String eventId) throws FacebookException
EventMethodsgetRSVPStatusInAttending in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInAttending(java.lang.String eventId, java.lang.String userId) throws FacebookException
EventMethodsgetRSVPStatusInAttending in interface EventMethodseventId - the ID of a eventuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean rsvpEventAsAttending(java.lang.String eventId)
throws FacebookException
EventMethodsrsvpEventAsAttending in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInMaybe(java.lang.String eventId) throws FacebookException
EventMethodsgetRSVPStatusInMaybe in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInMaybe(java.lang.String eventId, java.lang.String userId) throws FacebookException
EventMethodsgetRSVPStatusInMaybe in interface EventMethodseventId - the ID of a eventuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean rsvpEventAsMaybe(java.lang.String eventId)
throws FacebookException
EventMethodsrsvpEventAsMaybe in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInDeclined(java.lang.String eventId) throws FacebookException
EventMethodsgetRSVPStatusInDeclined in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<RSVPStatus> getRSVPStatusInDeclined(java.lang.String eventId, java.lang.String userId) throws FacebookException
EventMethodsgetRSVPStatusInDeclined in interface EventMethodseventId - the ID of a eventuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean rsvpEventAsDeclined(java.lang.String eventId)
throws FacebookException
EventMethodsrsvpEventAsDeclined in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic java.net.URL getEventPictureURL(java.lang.String eventId)
throws FacebookException
EventMethodsgetEventPictureURL in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic java.net.URL getEventPictureURL(java.lang.String eventId,
PictureSize size)
throws FacebookException
EventMethodsgetEventPictureURL in interface EventMethodseventId - the ID of a eventsize - picture sizeFacebookException - when Facebook service or network is unavailablepublic boolean updateEventPicture(java.lang.String eventId,
Media source)
throws FacebookException
EventMethodsupdateEventPicture in interface EventMethodseventId - the ID of a eventsource - picture resourceFacebookException - when Facebook service or network is unavailablepublic boolean deleteEventPicture(java.lang.String eventId)
throws FacebookException
EventMethodsdeleteEventPicture in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getEventPhotos(java.lang.String eventId) throws FacebookException
EventMethodsgetEventPhotos in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getEventPhotos(java.lang.String eventId, Reading reading) throws FacebookException
EventMethodsgetEventPhotos in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventPhoto(java.lang.String eventId,
Media source)
throws FacebookException
EventMethodspostEventPhoto in interface EventMethodseventId - the ID of a eventsource - photo resourceFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventPhoto(java.lang.String eventId,
Media source,
java.lang.String message)
throws FacebookException
EventMethodspostEventPhoto in interface EventMethodseventId - the ID of a eventsource - photo resourcemessage - photo descriptionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getEventVideos(java.lang.String eventId) throws FacebookException
EventMethodsgetEventVideos in interface EventMethodseventId - the ID of a eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getEventVideos(java.lang.String eventId, Reading reading) throws FacebookException
EventMethodsgetEventVideos in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventVideo(java.lang.String eventId,
Media source)
throws FacebookException
EventMethodspostEventVideo in interface EventMethodseventId - the ID of a eventsource - video resourceFacebookException - when Facebook service or network is unavailablepublic java.lang.String postEventVideo(java.lang.String eventId,
Media source,
java.lang.String title,
java.lang.String description)
throws FacebookException
EventMethodspostEventVideo in interface EventMethodseventId - the ID of a eventsource - video resourcetitle - video titledescription - video descriptionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Family> getFamily() throws FacebookException
FamilyMethodsgetFamily in interface FamilyMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Family> getFamily(Reading reading) throws FacebookException
FamilyMethodsgetFamily in interface FamilyMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Family> getFamily(java.lang.String userId) throws FacebookException
FamilyMethodsgetFamily in interface FamilyMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Family> getFamily(java.lang.String userId, Reading reading) throws FacebookException
FamilyMethodsgetFamily in interface FamilyMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getFeed() throws FacebookException
PostMethodsgetFeed in interface PostMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getFeed(Reading reading) throws FacebookException
PostMethodsgetFeed in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getFeed(java.lang.String id) throws FacebookException
PostMethodsgetFeed in interface PostMethodsid - the ID of a user/page/eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getFeed(java.lang.String id, Reading reading) throws FacebookException
PostMethodsgetFeed in interface PostMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getHome() throws FacebookException
PostMethodsgetHome in interface PostMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getHome(Reading reading) throws FacebookException
PostMethodsgetHome in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPosts() throws FacebookException
PostMethodsgetPosts in interface PostMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPosts(Reading reading) throws FacebookException
PostMethodsgetPosts in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPosts(java.lang.String id) throws FacebookException
PostMethodsgetPosts in interface PostMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPosts(java.lang.String id, Reading reading) throws FacebookException
PostMethodsgetPosts in interface PostMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getStatuses() throws FacebookException
PostMethodsgetStatuses in interface PostMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getStatuses(Reading reading) throws FacebookException
PostMethodsgetStatuses in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getStatuses(java.lang.String id) throws FacebookException
PostMethodsgetStatuses in interface PostMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getStatuses(java.lang.String id, Reading reading) throws FacebookException
PostMethodsgetStatuses in interface PostMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Post getPost(java.lang.String postId) throws FacebookException
PostMethodsgetPost in interface PostMethodspostId - the ID of the postFacebookException - when Facebook service or network is unavailablepublic Post getPost(java.lang.String postId, Reading reading) throws FacebookException
PostMethodsgetPost in interface PostMethodspostId - the ID of the postreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean deletePost(java.lang.String postId)
throws FacebookException
PostMethodsdeletePost in interface PostMethodspostId - the ID of the postFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getPostComments(java.lang.String postId) throws FacebookException
PostMethodsgetPostComments in interface PostMethodspostId - the ID of a postFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getPostComments(java.lang.String postId, Reading reading) throws FacebookException
PostMethodsgetPostComments in interface PostMethodspostId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentPost(java.lang.String postId,
java.lang.String message)
throws FacebookException
PostMethodscommentPost in interface PostMethodspostId - the ID of the postmessage - comment textFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentPost(java.lang.String postId,
CommentUpdate commentUpdate)
throws FacebookException
PostMethodscommentPost in interface PostMethodspostId - the ID of the postcommentUpdate - comment contentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getPostLikes(java.lang.String postId) throws FacebookException
PostMethodsgetPostLikes in interface PostMethodspostId - the ID of a postFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getPostLikes(java.lang.String postId, Reading reading) throws FacebookException
PostMethodsgetPostLikes in interface PostMethodspostId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likePost(java.lang.String postId)
throws FacebookException
PostMethodslikePost in interface PostMethodspostId - the ID of the postFacebookException - when Facebook service or network is unavailablepublic boolean unlikePost(java.lang.String postId)
throws FacebookException
PostMethodsunlikePost in interface PostMethodspostId - the ID of the postFacebookException - when Facebook service or network is unavailablepublic ResponseList<Insight> getPostInsights(java.lang.String postId) throws FacebookException
FacebookExceptionpublic java.lang.String postFeed(PostUpdate postUpdate) throws FacebookException
PostMethodspostFeed in interface PostMethodspostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postFeed(java.lang.String id,
PostUpdate postUpdate)
throws FacebookException
PostMethodspostFeed in interface PostMethodsid - the ID of a user/page/eventpostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postStatusMessage(java.lang.String message)
throws FacebookException
PostMethodspostStatusMessage in interface PostMethodsmessage - link messageFacebookException - when Facebook service or network is unavailablepublic java.lang.String postStatusMessage(java.lang.String id,
java.lang.String message)
throws FacebookException
PostMethodspostStatusMessage in interface PostMethodsid - the ID of a user/pagemessage - link messageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getTagged() throws FacebookException
PostMethodsgetTagged in interface PostMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getTagged(Reading reading) throws FacebookException
PostMethodsgetTagged in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getTagged(java.lang.String userId) throws FacebookException
PostMethodsgetTagged in interface PostMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getTagged(java.lang.String userId, Reading reading) throws FacebookException
PostMethodsgetTagged in interface PostMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friendlist> getFriendlists() throws FacebookException
FriendMethodsgetFriendlists in interface FriendMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friendlist> getFriendlists(Reading reading) throws FacebookException
FriendMethodsgetFriendlists in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friendlist> getFriendlists(java.lang.String userId) throws FacebookException
FriendMethodsgetFriendlists in interface FriendMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friendlist> getFriendlists(java.lang.String userId, Reading reading) throws FacebookException
FriendMethodsgetFriendlists in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<FriendRequest> getFriendRequests() throws FacebookException
FriendMethodsgetFriendRequests in interface FriendMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<FriendRequest> getFriendRequests(Reading reading) throws FacebookException
FriendMethodsgetFriendRequests in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<FriendRequest> getFriendRequests(java.lang.String userId) throws FacebookException
FriendMethodsgetFriendRequests in interface FriendMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<FriendRequest> getFriendRequests(java.lang.String userId, Reading reading) throws FacebookException
FriendMethodsgetFriendRequests in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getFriends() throws FacebookException
FriendMethodsgetFriends in interface FriendMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getFriends(Reading reading) throws FacebookException
FriendMethodsgetFriends in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getFriends(java.lang.String userId) throws FacebookException
FriendMethodsgetFriends in interface FriendMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getFriends(java.lang.String userId, Reading reading) throws FacebookException
FriendMethodsgetFriends in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<TaggableFriend> getTaggableFriends() throws FacebookException
FriendMethodsgetTaggableFriends in interface FriendMethodsFacebookException - when Facebook service or network is unavailable, and when taggable friends feature requires app reviewpublic ResponseList<TaggableFriend> getTaggableFriends(Reading reading) throws FacebookException
FriendMethodsgetTaggableFriends in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailable,and when taggable friends feature requires app reviewpublic ResponseList<TaggableFriend> getTaggableFriends(java.lang.String userId) throws FacebookException
FriendMethodsgetTaggableFriends in interface FriendMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailable, and when taggable friends feature requires app reviewpublic ResponseList<TaggableFriend> getTaggableFriends(java.lang.String userId, Reading reading) throws FacebookException
FriendMethodsgetTaggableFriends in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailable,and when taggable friends feature requires app reviewpublic ResponseList<Friend> getMutualFriends(java.lang.String friendUserId) throws FacebookException
FriendMethodsgetMutualFriends in interface FriendMethodsfriendUserId - the ID of a friendFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getMutualFriends(java.lang.String friendUserId, Reading reading) throws FacebookException
FriendMethodsgetMutualFriends in interface FriendMethodsfriendUserId - the ID of a friendreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getMutualFriends(java.lang.String userId1, java.lang.String userId2) throws FacebookException
FriendMethodsgetMutualFriends in interface FriendMethodsuserId1 - the ID of a useruserId2 - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getMutualFriends(java.lang.String userId1, java.lang.String userId2, Reading reading) throws FacebookException
FriendMethodsgetMutualFriends in interface FriendMethodsuserId1 - the ID of a useruserId2 - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createFriendlist(java.lang.String friendlistName)
throws FacebookException
FriendMethodscreateFriendlist in interface FriendMethodsfriendlistName - friend list nameFacebookException - when Facebook service or network is unavailablepublic java.lang.String createFriendlist(java.lang.String userId,
java.lang.String friendlistName)
throws FacebookException
FriendMethodscreateFriendlist in interface FriendMethodsuserId - the ID of a userfriendlistName - friend list name. Maximum 25 charactersFacebookException - when Facebook service or network is unavailablepublic boolean deleteFriendlist(java.lang.String friendlistId)
throws FacebookException
FriendMethodsdeleteFriendlist in interface FriendMethodsfriendlistId - the ID of the friend listFacebookException - when Facebook service or network is unavailablepublic boolean addFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
FriendMethodsaddFriendlistMember in interface FriendMethodsfriendlistId - the ID of the friend listuserId - the ID of target userFacebookException - when Facebook service or network is unavailablepublic boolean removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
FriendMethodsremoveFriendlistMember in interface FriendMethodsfriendlistId - the ID of a friend listuserId - the ID of a target userFacebookException - when Facebook service or network is unavailablepublic boolean deleteFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
FriendMethodsFriendMethods.removeFriendlistMember(String, String) .deleteFriendlistMember in interface FriendMethodsfriendlistId - the ID of a friend listuserId - the ID of a target userFacebookException - when Facebook service or network is unavailablepublic Friendlist getFriendlist(java.lang.String friendlistId) throws FacebookException
FriendMethodsgetFriendlist in interface FriendMethodsfriendlistId - the ID of the friend listFacebookException - when Facebook service or network is unavailablepublic Friendlist getFriendlist(java.lang.String friendlistId, Reading reading) throws FacebookException
FriendMethodsgetFriendlist in interface FriendMethodsfriendlistId - the ID of the friend listreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getFriendlistMembers(java.lang.String friendlistId) throws FacebookException
FriendMethodsgetFriendlistMembers in interface FriendMethodsfriendlistId - the ID of the friend listFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getBelongsFriend(java.lang.String friendId) throws FacebookException
FriendMethodsgetBelongsFriend in interface FriendMethodsfriendId - the ID of the friendFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getBelongsFriend(java.lang.String friendId, Reading reading) throws FacebookException
FriendMethodsgetBelongsFriend in interface FriendMethodsfriendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getBelongsFriend(java.lang.String userId, java.lang.String friendId) throws FacebookException
FriendMethodsgetBelongsFriend in interface FriendMethodsuserId - the ID of a userfriendId - the ID of the friendFacebookException - when Facebook service or network is unavailablepublic ResponseList<Friend> getBelongsFriend(java.lang.String userId, java.lang.String friendId, Reading reading) throws FacebookException
FriendMethodsgetBelongsFriend in interface FriendMethodsuserId - the ID of a userfriendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Game> getGames() throws FacebookException
FavoriteMethodsgetGames in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Game> getGames(Reading reading) throws FacebookException
FavoriteMethodsgetGames in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Game> getGames(java.lang.String userId) throws FacebookException
FavoriteMethodsgetGames in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Game> getGames(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetGames in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Movie> getMovies() throws FacebookException
FavoriteMethodsgetMovies in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Movie> getMovies(Reading reading) throws FacebookException
FavoriteMethodsgetMovies in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Movie> getMovies(java.lang.String userId) throws FacebookException
FavoriteMethodsgetMovies in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Movie> getMovies(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetMovies in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Music> getMusic() throws FacebookException
FavoriteMethodsgetMusic in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Music> getMusic(Reading reading) throws FacebookException
FavoriteMethodsgetMusic in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Music> getMusic(java.lang.String userId) throws FacebookException
FavoriteMethodsgetMusic in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Music> getMusic(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetMusic in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Television> getTelevision() throws FacebookException
FavoriteMethodsgetTelevision in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Television> getTelevision(Reading reading) throws FacebookException
FavoriteMethodsgetTelevision in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Television> getTelevision(java.lang.String userId) throws FacebookException
FavoriteMethodsgetTelevision in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Television> getTelevision(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetTelevision in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Interest> getInterests() throws FacebookException
FavoriteMethodsgetInterests in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Interest> getInterests(Reading reading) throws FacebookException
FavoriteMethodsgetInterests in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Interest> getInterests(java.lang.String userId) throws FacebookException
FavoriteMethodsgetInterests in interface FavoriteMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Interest> getInterests(java.lang.String userId, Reading reading) throws FacebookException
FavoriteMethodsgetInterests in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> getGroups() throws FacebookException
GroupMethodsgetGroups in interface GroupMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> getGroups(Reading reading) throws FacebookException
GroupMethodsgetGroups in interface GroupMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> getGroups(java.lang.String userId) throws FacebookException
GroupMethodsgetGroups in interface GroupMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> getGroups(java.lang.String userId, Reading reading) throws FacebookException
GroupMethodsgetGroups in interface GroupMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Group getGroup(java.lang.String groupId) throws FacebookException
GroupMethodsgetGroup in interface GroupMethodsgroupId - the ID of the groupFacebookException - when Facebook service or network is unavailablepublic Group getGroup(java.lang.String groupId, Reading reading) throws FacebookException
GroupMethodsgetGroup in interface GroupMethodsgroupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getGroupFeed(java.lang.String groupId) throws FacebookException
GroupMethodsgetGroupFeed in interface GroupMethodsgroupId - the ID of the groupFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getGroupFeed(java.lang.String groupId, Reading reading) throws FacebookException
GroupMethodsgetGroupFeed in interface GroupMethodsgroupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<GroupMember> getGroupMembers(java.lang.String groupId) throws FacebookException
GroupMethodsgetGroupMembers in interface GroupMethodsgroupId - the ID of a groupFacebookException - when Facebook service or network is unavailablepublic ResponseList<GroupMember> getGroupMembers(java.lang.String groupId, Reading reading) throws FacebookException
GroupMethodsgetGroupMembers in interface GroupMethodsgroupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.net.URL getGroupPictureURL(java.lang.String groupId)
throws FacebookException
GroupMethodsgetGroupPictureURL in interface GroupMethodsgroupId - the ID of a groupFacebookException - when Facebook service or network is unavailablepublic ResponseList<GroupDoc> getGroupDocs(java.lang.String groupId) throws FacebookException
GroupMethodsgetGroupDocs in interface GroupMethodsgroupId - the ID of a groupFacebookException - when Facebook service or network is unavailablepublic ResponseList<GroupDoc> getGroupDocs(java.lang.String groupId, Reading reading) throws FacebookException
GroupMethodsgetGroupDocs in interface GroupMethodsgroupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String postGroupLink(java.lang.String groupId,
java.net.URL linkURL)
throws FacebookException
GroupMethodspostGroupLink in interface GroupMethodsgroupId - the ID of a grouplinkURL - link URLFacebookException - when Facebook service or network is unavailablepublic java.lang.String postGroupLink(java.lang.String groupId,
java.net.URL linkURL,
java.lang.String message)
throws FacebookException
GroupMethodspostGroupLink in interface GroupMethodsgroupId - the ID of a grouplinkURL - link URLmessage - link messageFacebookException - when Facebook service or network is unavailablepublic java.lang.String postGroupFeed(java.lang.String groupId,
PostUpdate postUpdate)
throws FacebookException
GroupMethodspostGroupFeed in interface GroupMethodsgroupId - the ID of a grouppostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postGroupStatusMessage(java.lang.String groupId,
java.lang.String message)
throws FacebookException
GroupMethodspostGroupStatusMessage in interface GroupMethodsgroupId - the ID of a groupmessage - status message contentFacebookException - when Facebook service or network is unavailablepublic InboxResponseList<Message> getInbox() throws FacebookException
MessageMethodsgetInbox in interface MessageMethodsFacebookException - when Facebook service or network is unavailablepublic InboxResponseList<Message> getInbox(Reading reading) throws FacebookException
MessageMethodsgetInbox in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic InboxResponseList<Message> getInbox(java.lang.String userId) throws FacebookException
MessageMethodsgetInbox in interface MessageMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic InboxResponseList<Message> getInbox(java.lang.String userId, Reading reading) throws FacebookException
MessageMethodsgetInbox in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getOutbox() throws FacebookException
MessageMethodsgetOutbox in interface MessageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getOutbox(Reading reading) throws FacebookException
MessageMethodsgetOutbox in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getOutbox(java.lang.String userId) throws FacebookException
MessageMethodsgetOutbox in interface MessageMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getOutbox(java.lang.String userId, Reading reading) throws FacebookException
MessageMethodsgetOutbox in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getUpdates() throws FacebookException
MessageMethodsgetUpdates in interface MessageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getUpdates(Reading reading) throws FacebookException
MessageMethodsgetUpdates in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getUpdates(java.lang.String userId) throws FacebookException
MessageMethodsgetUpdates in interface MessageMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Message> getUpdates(java.lang.String userId, Reading reading) throws FacebookException
MessageMethodsgetUpdates in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Message getMessage(java.lang.String messageId) throws FacebookException
MessageMethodsgetMessage in interface MessageMethodsmessageId - the ID of the messageFacebookException - when Facebook service or network is unavailablepublic Message getMessage(java.lang.String messageId, Reading reading) throws FacebookException
MessageMethodsgetMessage in interface MessageMethodsmessageId - the ID of the messagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getUserLikes() throws FacebookException
LikeMethodsgetUserLikes in interface LikeMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getUserLikes(Reading reading) throws FacebookException
LikeMethodsgetUserLikes in interface LikeMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getUserLikes(java.lang.String userId) throws FacebookException
LikeMethodsgetUserLikes in interface LikeMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getUserLikes(java.lang.String userId, Reading reading) throws FacebookException
LikeMethodsgetUserLikes in interface LikeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Comment getComment(java.lang.String commentId) throws FacebookException
CommentMethodsgetComment in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic Comment getComment(java.lang.String commentId, Reading reading) throws FacebookException
CommentMethodsgetComment in interface CommentMethodscommentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getCommentReplies(java.lang.String commentId) throws FacebookException
CommentMethodsgetCommentReplies in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getCommentReplies(java.lang.String commentId, Reading reading) throws FacebookException
CommentMethodsgetCommentReplies in interface CommentMethodscommentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean deleteComment(java.lang.String commentId)
throws FacebookException
CommentMethodsdeleteComment in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getCommentLikes(java.lang.String commentId) throws FacebookException
CommentMethodsgetCommentLikes in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getCommentLikes(java.lang.String commentId, Reading reading) throws FacebookException
CommentMethodsgetCommentLikes in interface CommentMethodscommentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeComment(java.lang.String commentId)
throws FacebookException
CommentMethodslikeComment in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic boolean unlikeComment(java.lang.String commentId)
throws FacebookException
CommentMethodsunlikeComment in interface CommentMethodscommentId - the ID of a commentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Link> getLinks() throws FacebookException
LinkMethodsgetLinks in interface LinkMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Link> getLinks(Reading reading) throws FacebookException
LinkMethodsgetLinks in interface LinkMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Link> getLinks(java.lang.String id) throws FacebookException
LinkMethodsgetLinks in interface LinkMethodsid - the ID of a user/page/eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Link> getLinks(java.lang.String id, Reading reading) throws FacebookException
LinkMethodsgetLinks in interface LinkMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Link getLink(java.lang.String linkId) throws FacebookException
LinkMethodsgetLink in interface LinkMethodslinkId - the ID of the linkFacebookException - when Facebook service or network is unavailablepublic Link getLink(java.lang.String linkId, Reading reading) throws FacebookException
LinkMethodsgetLink in interface LinkMethodslinkId - the ID of the linkreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getLinkComments(java.lang.String linkId) throws FacebookException
LinkMethodsgetLinkComments in interface LinkMethodslinkId - the ID of a linkFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getLinkComments(java.lang.String linkId, Reading reading) throws FacebookException
LinkMethodsgetLinkComments in interface LinkMethodslinkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentLink(java.lang.String linkId,
java.lang.String message)
throws FacebookException
LinkMethodscommentLink in interface LinkMethodslinkId - the ID of the linkmessage - comment textFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentLink(java.lang.String linkId,
CommentUpdate commentUpdate)
throws FacebookException
LinkMethodscommentLink in interface LinkMethodslinkId - the ID of the linkcommentUpdate - comment contentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getLinkLikes(java.lang.String linkId) throws FacebookException
LinkMethodsgetLinkLikes in interface LinkMethodslinkId - the ID of a linkFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getLinkLikes(java.lang.String linkId, Reading reading) throws FacebookException
LinkMethodsgetLinkLikes in interface LinkMethodslinkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeLink(java.lang.String linkId)
throws FacebookException
LinkMethodslikeLink in interface LinkMethodslinkId - the ID of the linkFacebookException - when Facebook service or network is unavailablepublic boolean unlikeLink(java.lang.String linkId)
throws FacebookException
LinkMethodsunlikeLink in interface LinkMethodslinkId - the ID of the linkFacebookException - when Facebook service or network is unavailablepublic java.lang.String postLink(java.net.URL link)
throws FacebookException
PostMethodspostLink in interface PostMethodslink - link URLFacebookException - when Facebook service or network is unavailablepublic java.lang.String postLink(java.net.URL link,
java.lang.String message)
throws FacebookException
PostMethodspostLink in interface PostMethodslink - link URLmessage - link messageFacebookException - when Facebook service or network is unavailablepublic java.lang.String postLink(java.lang.String userId,
java.net.URL link)
throws FacebookException
PostMethodspostLink in interface PostMethodsuserId - the ID of a userlink - link URLFacebookException - when Facebook service or network is unavailablepublic java.lang.String postLink(java.lang.String userId,
java.net.URL link,
java.lang.String message)
throws FacebookException
PostMethodspostLink in interface PostMethodsuserId - the ID of a userlink - link URLmessage - link messageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> getLocations() throws FacebookException
LocationMethodsgetLocations in interface LocationMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> getLocations(Reading reading) throws FacebookException
LocationMethodsgetLocations in interface LocationMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> getLocations(java.lang.String userId) throws FacebookException
LocationMethodsgetLocations in interface LocationMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> getLocations(java.lang.String userId, Reading reading) throws FacebookException
LocationMethodsgetLocations in interface LocationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<PlaceTag> getTaggedPlaces() throws FacebookException
LocationMethodsgetTaggedPlaces in interface LocationMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<PlaceTag> getTaggedPlaces(Reading reading) throws FacebookException
LocationMethodsgetTaggedPlaces in interface LocationMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<PlaceTag> getTaggedPlaces(java.lang.String userId) throws FacebookException
LocationMethodsgetTaggedPlaces in interface LocationMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<PlaceTag> getTaggedPlaces(java.lang.String userId, Reading reading) throws FacebookException
LocationMethodsgetTaggedPlaces in interface LocationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Note> getNotes() throws FacebookException
NoteMethodsgetNotes in interface NoteMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Note> getNotes(Reading reading) throws FacebookException
NoteMethodsgetNotes in interface NoteMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Note> getNotes(java.lang.String id) throws FacebookException
NoteMethodsgetNotes in interface NoteMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Note> getNotes(java.lang.String id, Reading reading) throws FacebookException
NoteMethodsgetNotes in interface NoteMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createNote(java.lang.String subject,
java.lang.String message)
throws FacebookException
NoteMethodscreateNote in interface NoteMethodssubject - the subject of the notemessage - note contentFacebookException - when Facebook service or network is unavailablepublic java.lang.String createNote(java.lang.String id,
java.lang.String subject,
java.lang.String message)
throws FacebookException
NoteMethodscreateNote in interface NoteMethodsid - the ID of a user/pagesubject - the subject of the notemessage - note contentFacebookException - when Facebook service or network is unavailablepublic Note getNote(java.lang.String noteId) throws FacebookException
NoteMethodsgetNote in interface NoteMethodsnoteId - the ID of the noteFacebookException - when Facebook service or network is unavailablepublic Note getNote(java.lang.String noteId, Reading reading) throws FacebookException
NoteMethodsgetNote in interface NoteMethodsnoteId - the ID of the notereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getNoteComments(java.lang.String noteId) throws FacebookException
NoteMethodsgetNoteComments in interface NoteMethodsnoteId - the ID of a noteFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getNoteComments(java.lang.String noteId, Reading reading) throws FacebookException
NoteMethodsgetNoteComments in interface NoteMethodsnoteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentNote(java.lang.String noteId,
java.lang.String message)
throws FacebookException
NoteMethodscommentNote in interface NoteMethodsnoteId - the ID of the notemessage - comment textFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getNoteLikes(java.lang.String noteId) throws FacebookException
NoteMethodsgetNoteLikes in interface NoteMethodsnoteId - the ID of a noteFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getNoteLikes(java.lang.String noteId, Reading reading) throws FacebookException
NoteMethodsgetNoteLikes in interface NoteMethodsnoteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeNote(java.lang.String noteId)
throws FacebookException
NoteMethodslikeNote in interface NoteMethodsnoteId - the ID of the noteFacebookException - when Facebook service or network is unavailablepublic boolean unlikeNote(java.lang.String noteId)
throws FacebookException
NoteMethodsunlikeNote in interface NoteMethodsnoteId - the ID of the noteFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications() throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(boolean includeRead) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(Reading reading) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(Reading reading, boolean includeRead) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(java.lang.String userId) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(java.lang.String userId, boolean includeRead) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsuserId - the ID of a userincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(java.lang.String userId, Reading reading) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Notification> getNotifications(java.lang.String userId, Reading reading, boolean includeRead) throws FacebookException
NotificationMethodsgetNotifications in interface NotificationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailablepublic boolean markNotificationAsRead(java.lang.String notificationId)
throws FacebookException
NotificationMethodsmarkNotificationAsRead in interface NotificationMethodsnotificationId - the ID of the notificationFacebookException - when Facebook service or network is unavailablepublic Page getPage() throws FacebookException
PageMethodsgetPage in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic Page getPage(Reading reading) throws FacebookException
PageMethodsgetPage in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Page getPage(java.lang.String pageId) throws FacebookException
PageMethodsgetPage in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic Page getPage(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetPage in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPagePictureURL()
throws FacebookException
PageMethodsgetPagePictureURL in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPagePictureURL(PictureSize size) throws FacebookException
PageMethodsgetPagePictureURL in interface PageMethodssize - picture sizeFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPagePictureURL(java.lang.String pageId)
throws FacebookException
PageMethodsgetPagePictureURL in interface PageMethodspageId - the ID of a pageFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPagePictureURL(java.lang.String pageId,
PictureSize size)
throws FacebookException
PageMethodsgetPagePictureURL in interface PageMethodspageId - the ID of a pagesize - picture sizeFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPromotablePosts() throws FacebookException
PageMethodsgetPromotablePosts in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPromotablePosts(Reading reading) throws FacebookException
PageMethodsgetPromotablePosts in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPromotablePosts(java.lang.String pageId) throws FacebookException
PageMethodsgetPromotablePosts in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> getPromotablePosts(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetPromotablePosts in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean updatePageBasicAttributes(PageUpdate pageUpdate) throws FacebookException
PageMethodsupdatePageBasicAttributes in interface PageMethodspageUpdate - the page to be updatedFacebookException - when Facebook service or network is unavailablepublic boolean updatePageBasicAttributes(java.lang.String pageId,
PageUpdate pageUpdate)
throws FacebookException
PageMethodsupdatePageBasicAttributes in interface PageMethodspageId - the ID of the pagepageUpdate - the page to be updatedFacebookException - when Facebook service or network is unavailablepublic boolean updatePageProfilePhoto(java.net.URL picture)
throws FacebookException
PageMethodsupdatePageProfilePhoto in interface PageMethodspicture - A URL to the photoFacebookException - when Facebook service or network is unavailablepublic boolean updatePageProfilePhoto(java.lang.String pageId,
java.net.URL picture)
throws FacebookException
PageMethodsupdatePageProfilePhoto in interface PageMethodspageId - the ID of the pagepicture - A URL to the photoFacebookException - when Facebook service or network is unavailablepublic boolean updatePageProfilePhoto(Media source) throws FacebookException
PageMethodsupdatePageProfilePhoto in interface PageMethodssource - Photo contentFacebookException - when Facebook service or network is unavailablepublic boolean updatePageProfilePhoto(java.lang.String pageId,
Media source)
throws FacebookException
PageMethodsupdatePageProfilePhoto in interface PageMethodspageId - the ID of the pagesource - Photo contentFacebookException - when Facebook service or network is unavailablepublic boolean updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate) throws FacebookException
PageMethodsupdatePageCoverPhoto in interface PageMethodspageCoverUpdate - the cover photo for the page to be updatedFacebookException - when Facebook service or network is unavailablepublic boolean updatePageCoverPhoto(java.lang.String pageId,
PageCoverUpdate pageCoverUpdate)
throws FacebookException
PageMethodsupdatePageCoverPhoto in interface PageMethodspageId - the ID of the pagepageCoverUpdate - the cover photo for the page to be updatedFacebookException - when Facebook service or network is unavailablepublic ResponseList<PageSetting> getPageSettings() throws FacebookException
PageMethodsgetPageSettings in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<PageSetting> getPageSettings(java.lang.String pageId) throws FacebookException
PageMethodsgetPageSettings in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic boolean updatePageSetting(PageSettingUpdate pageSettingUpdate) throws FacebookException
PageMethodsupdatePageSetting in interface PageMethodspageSettingUpdate - settingFacebookException - when Facebook service or network is unavailablepublic boolean updatePageSetting(java.lang.String pageId,
PageSettingUpdate pageSettingUpdate)
throws FacebookException
PageMethodsupdatePageSetting in interface PageMethodspageId - the ID of the pagepageSettingUpdate - settingFacebookException - when Facebook service or network is unavailablepublic java.lang.String postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate) throws FacebookException
PageMethodspostBackdatingFeed in interface PageMethodsbackdatingPostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postBackdatingFeed(java.lang.String pageId,
BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
PageMethodspostBackdatingFeed in interface PageMethodspageId - the ID of a pagebackdatingPostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPagePhoto(PagePhotoUpdate pagePhotoUpdate) throws FacebookException
PageMethodspostPagePhoto in interface PageMethodspagePhotoUpdate - photo content, targeting and moreFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPagePhoto(java.lang.String pageId,
PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
PageMethodspostPagePhoto in interface PageMethodspageId - the ID of a pagepagePhotoUpdate - photo content, targeting and moreFacebookException - when Facebook service or network is unavailablepublic ResponseList<Page> getGlobalBrandChildren(java.lang.String pageId) throws FacebookException
PageMethodsgetGlobalBrandChildren in interface PageMethodspageId - the ID of the pageFacebookExceptionpublic ResponseList<Page> getGlobalBrandChildren(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetGlobalBrandChildren in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookExceptionpublic ResponseList<Insight> getPageInsights(java.lang.String pageId) throws FacebookException
PageMethodsgetPageInsights in interface PageMethodspageId - the ID of the pageFacebookExceptionpublic ResponseList<Insight> getPageInsights(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetPageInsights in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookExceptionpublic ResponseList<Tagged> getPageTagged(java.lang.String pageId) throws FacebookException
PageMethodsgetPageTagged in interface PageMethodspageId - the ID of the pageFacebookExceptionpublic ResponseList<Tagged> getPageTagged(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetPageTagged in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookExceptionpublic ResponseList<Milestone> getMilestones() throws FacebookException
PageMethodsgetMilestones in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Milestone> getMilestones(Reading reading) throws FacebookException
PageMethodsgetMilestones in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Milestone> getMilestones(java.lang.String pageId) throws FacebookException
PageMethodsgetMilestones in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Milestone> getMilestones(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetMilestones in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createMilestone(MilestoneUpdate milestoneUpdate) throws FacebookException
PageMethodscreateMilestone in interface PageMethodsmilestoneUpdate - a milestone to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String createMilestone(java.lang.String pageId,
MilestoneUpdate milestoneUpdate)
throws FacebookException
PageMethodscreateMilestone in interface PageMethodspageId - the ID of the pagemilestoneUpdate - a milestone to be createdFacebookException - when Facebook service or network is unavailablepublic boolean deleteMilestone(java.lang.String milestoneId)
throws FacebookException
PageMethodsdeleteMilestone in interface PageMethodsmilestoneId - the ID of a milestoneFacebookException - when Facebook service or network is unavailablepublic ResponseList<Admin> getPageAdmins() throws FacebookException
PageMethodsgetPageAdmins in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Admin> getPageAdmins(Reading reading) throws FacebookException
PageMethodsgetPageAdmins in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Admin> getPageAdmins(java.lang.String pageId) throws FacebookException
PageMethodsgetPageAdmins in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Admin> getPageAdmins(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetPageAdmins in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getTabs() throws FacebookException
PageMethodsgetTabs in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getTabs(Reading reading) throws FacebookException
PageMethodsgetTabs in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getTabs(java.lang.String pageId) throws FacebookException
PageMethodsgetTabs in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getTabs(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetTabs in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getInstalledTabs(java.util.List<java.lang.String> appIds) throws FacebookException
PageMethodsgetInstalledTabs in interface PageMethodsappIds - the IDs of appFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getInstalledTabs(java.util.List<java.lang.String> appIds, Reading reading) throws FacebookException
PageMethodsgetInstalledTabs in interface PageMethodsappIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getInstalledTabs(java.lang.String pageId, java.util.List<java.lang.String> appIds) throws FacebookException
PageMethodsgetInstalledTabs in interface PageMethodspageId - the ID of the pageappIds - the IDs of appFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tab> getInstalledTabs(java.lang.String pageId, java.util.List<java.lang.String> appIds, Reading reading) throws FacebookException
PageMethodsgetInstalledTabs in interface PageMethodspageId - the ID of the pageappIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean installTab(java.lang.String appId)
throws FacebookException
PageMethodsinstallTab in interface PageMethodsappId - the ID of the application for which to install the tabFacebookExceptionpublic boolean installTab(java.lang.String pageId,
java.lang.String appId)
throws FacebookException
PageMethodsinstallTab in interface PageMethodspageId - the ID of the pageappId - the ID of the application for which to install the tabFacebookExceptionpublic boolean updateTab(java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
PageMethodsupdateTab in interface PageMethodstabId - the ID of the tabtabUpdate - tab to be updatedFacebookExceptionpublic boolean updateTab(java.lang.String pageId,
java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
PageMethodsupdateTab in interface PageMethodspageId - the ID of the pagetabId - the ID of the tabtabUpdate - tab to be updatedFacebookExceptionpublic boolean deleteTab(java.lang.String tabId)
throws FacebookException
PageMethodsdeleteTab in interface PageMethodstabId - the ID of the tabFacebookExceptionpublic boolean deleteTab(java.lang.String pageId,
java.lang.String tabId)
throws FacebookException
PageMethodsdeleteTab in interface PageMethodspageId - the ID of the pagetabId - the ID of the tabFacebookExceptionpublic boolean displayPagePost(java.lang.String postId,
boolean isHidden)
throws FacebookException
PageMethodsdisplayPagePost in interface PageMethodspostId - the ID of the post in the pageisHidden - whether a post is hiddenFacebookExceptionpublic ResponseList<User> getBlocked() throws FacebookException
PageMethodsgetBlocked in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<User> getBlocked(Reading reading) throws FacebookException
PageMethodsgetBlocked in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<User> getBlocked(java.lang.String pageId) throws FacebookException
PageMethodsgetBlocked in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<User> getBlocked(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetBlocked in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.util.Map<java.lang.String,java.lang.Boolean> block(java.util.List<java.lang.String> userIds)
throws FacebookException
PageMethodsblock in interface PageMethodsuserIds - user IDs you wish to blockFacebookException - when Facebook service or network is unavailablepublic java.util.Map<java.lang.String,java.lang.Boolean> block(java.lang.String pageId,
java.util.List<java.lang.String> userIds)
throws FacebookException
PageMethodsblock in interface PageMethodspageId - the ID of the pageuserIds - user IDs you wish to blockFacebookException - when Facebook service or network is unavailablepublic boolean unblock(java.lang.String userId)
throws FacebookException
PageMethodsunblock in interface PageMethodsuserId - the IDs of the userFacebookException - when Facebook service or network is unavailablepublic boolean unblock(java.lang.String pageId,
java.lang.String userId)
throws FacebookException
PageMethodsunblock in interface PageMethodspageId - the ID of the pageuserId - the IDs of the userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Offer> getOffers() throws FacebookException
PageMethodsgetOffers in interface PageMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Offer> getOffers(Reading reading) throws FacebookException
PageMethodsgetOffers in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Offer> getOffers(java.lang.String pageId) throws FacebookException
PageMethodsgetOffers in interface PageMethodspageId - the ID of the pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Offer> getOffers(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetOffers in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createOffer(OfferUpdate offerUpdate) throws FacebookException
PageMethodscreateOffer in interface PageMethodsofferUpdate - a createOffer to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String createOffer(java.lang.String pageId,
OfferUpdate offerUpdate)
throws FacebookException
PageMethodscreateOffer in interface PageMethodspageId - the ID of the pageofferUpdate - a createOffer to be createdFacebookException - when Facebook service or network is unavailablepublic boolean deleteOffer(java.lang.String offerId)
throws FacebookException
PageMethodsdeleteOffer in interface PageMethodsofferId - the ID of the createOfferFacebookExceptionpublic Offer getOffer(java.lang.String offerId) throws FacebookException
PageMethodsgetOffer in interface PageMethodsofferId - the ID of the offerFacebookException - when Facebook service or network is unavailablepublic Page getLikedPage(java.lang.String pageId) throws FacebookException
PageMethodsgetLikedPage in interface PageMethodspageId - the ID of a pageFacebookException - when Facebook service or network is unavailablepublic Page getLikedPage(java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetLikedPage in interface PageMethodspageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Page getLikedPage(java.lang.String userId, java.lang.String pageId) throws FacebookException
PageMethodsgetLikedPage in interface PageMethodsuserId - the ID of a userpageId - the ID of a pageFacebookException - when Facebook service or network is unavailablepublic Page getLikedPage(java.lang.String userId, java.lang.String pageId, Reading reading) throws FacebookException
PageMethodsgetLikedPage in interface PageMethodsuserId - the ID of a userpageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.util.List<Permission> getPermissions() throws FacebookException
PermissionMethodsgetPermissions in interface PermissionMethodsFacebookException - when Facebook service or network is unavailablepublic java.util.List<Permission> getPermissions(java.lang.String userId) throws FacebookException
PermissionMethodsgetPermissions in interface PermissionMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean revokeAllPermissions()
throws FacebookException
PermissionMethodsrevokeAllPermissions in interface PermissionMethodsFacebookException - when Facebook service or network is unavailablepublic boolean revokeAllPermissions(java.lang.String userId)
throws FacebookException
PermissionMethodsrevokeAllPermissions in interface PermissionMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean revokePermission(java.lang.String permissionName)
throws FacebookException
PermissionMethodsrevokePermission in interface PermissionMethodspermissionName - permission nameFacebookException - when Facebook service or network is unavailablepublic boolean revokePermission(java.lang.String userId,
java.lang.String permissionName)
throws FacebookException
PermissionMethodsrevokePermission in interface PermissionMethodsuserId - the ID of a userpermissionName - permission nameFacebookException - when Facebook service or network is unavailablepublic boolean deleteAllPermissions()
throws FacebookException
PermissionMethodsPermissionMethods.revokeAllPermissions() .deleteAllPermissions in interface PermissionMethodsFacebookException - when Facebook service or network is unavailablepublic boolean deleteAllPermissions(java.lang.String userId)
throws FacebookException
PermissionMethodsPermissionMethods.revokeAllPermissions() .deleteAllPermissions in interface PermissionMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic boolean deletePermission(java.lang.String permissionName)
throws FacebookException
PermissionMethodsPermissionMethods.revokePermission(String) .deletePermission in interface PermissionMethodspermissionName - permission nameFacebookException - when Facebook service or network is unavailablepublic boolean deletePermission(java.lang.String userId,
java.lang.String permissionName)
throws FacebookException
PermissionMethodsPermissionMethods.revokePermission(String, String) .deletePermission in interface PermissionMethodsuserId - the ID of a userpermissionName - permission nameFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getUploadedPhotos() throws FacebookException
PhotoMethodsgetUploadedPhotos in interface PhotoMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getUploadedPhotos(Reading reading) throws FacebookException
PhotoMethodsgetUploadedPhotos in interface PhotoMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getUploadedPhotos(java.lang.String id) throws FacebookException
PhotoMethodsgetUploadedPhotos in interface PhotoMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getUploadedPhotos(java.lang.String id, Reading reading) throws FacebookException
PhotoMethodsgetUploadedPhotos in interface PhotoMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getPhotos() throws FacebookException
PhotoMethodsgetPhotos in interface PhotoMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getPhotos(Reading reading) throws FacebookException
PhotoMethodsgetPhotos in interface PhotoMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getPhotos(java.lang.String id) throws FacebookException
PhotoMethodsgetPhotos in interface PhotoMethodsid - the ID of a user/page/eventFacebookException - when Facebook service or network is unavailablepublic ResponseList<Photo> getPhotos(java.lang.String id, Reading reading) throws FacebookException
PhotoMethodsgetPhotos in interface PhotoMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Photo getPhoto(java.lang.String photoId) throws FacebookException
PhotoMethodsgetPhoto in interface PhotoMethodsphotoId - the ID of the photoFacebookException - when Facebook service or network is unavailablepublic Photo getPhoto(java.lang.String photoId, Reading reading) throws FacebookException
PhotoMethodsgetPhoto in interface PhotoMethodsphotoId - the ID of the photoreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getPhotoComments(java.lang.String photoId) throws FacebookException
PhotoMethodsgetPhotoComments in interface PhotoMethodsphotoId - the ID of a photoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getPhotoComments(java.lang.String photoId, Reading reading) throws FacebookException
PhotoMethodsgetPhotoComments in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentPhoto(java.lang.String photoId,
java.lang.String message)
throws FacebookException
PhotoMethodscommentPhoto in interface PhotoMethodsphotoId - the ID of the photomessage - comment textFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentPhoto(java.lang.String photoId,
CommentUpdate commentUpdate)
throws FacebookException
PhotoMethodscommentPhoto in interface PhotoMethodsphotoId - the ID of the photocommentUpdate - comment contentFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getPhotoLikes(java.lang.String photoId) throws FacebookException
PhotoMethodsgetPhotoLikes in interface PhotoMethodsphotoId - the ID of a photoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getPhotoLikes(java.lang.String photoId, Reading reading) throws FacebookException
PhotoMethodsgetPhotoLikes in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethodslikePhoto in interface PhotoMethodsphotoId - the ID of the photoFacebookException - when Facebook service or network is unavailablepublic boolean unlikePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethodsunlikePhoto in interface PhotoMethodsphotoId - the ID of the photoFacebookException - when Facebook service or network is unavailablepublic java.net.URL getPhotoURL(java.lang.String photoId)
throws FacebookException
PhotoMethodsgetPhotoURL in interface PhotoMethodsphotoId - the ID of a photoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId) throws FacebookException
PhotoMethodsgetTagsOnPhoto in interface PhotoMethodsphotoId - the ID of a photoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId, Reading reading) throws FacebookException
PhotoMethodsgetTagsOnPhoto in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean addTagToPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
PhotoMethodsaddTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserId - the ID of the user to tagFacebookException - when Facebook service or network is unavailablepublic boolean addTagToPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
PhotoMethodsaddTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototagUpdate - tag informationFacebookException - when Facebook service or network is unavailablepublic boolean addTagToPhoto(java.lang.String photoId,
java.util.List<java.lang.String> toUserIds)
throws FacebookException
PhotoMethodsaddTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserIds - the IDs of the users to tagFacebookException - when Facebook service or network is unavailablepublic boolean updateTagOnPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
PhotoMethodsupdateTagOnPhoto in interface PhotoMethodsphotoId - the ID of a phototagUpdate - tag information, supports 'to', 'x', 'y'FacebookException - when Facebook service or network is unavailablepublic boolean deleteTagOnPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
PhotoMethodsdeleteTagOnPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserId - the ID of the user to tagFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPhoto(Media source) throws FacebookException
PhotoMethodspostPhoto in interface PhotoMethodssource - photo contentFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPhoto(PhotoUpdate photoUpdate) throws FacebookException
PhotoMethodspostPhoto in interface PhotoMethodsphotoUpdate - the photo to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPhoto(java.lang.String userId,
Media source)
throws FacebookException
PhotoMethodspostPhoto in interface PhotoMethodsuserId - the ID of a usersource - photo contentFacebookException - when Facebook service or network is unavailablepublic java.lang.String postPhoto(java.lang.String userId,
PhotoUpdate photoUpdate)
throws FacebookException
PhotoMethodspostPhoto in interface PhotoMethodsuserId - the ID of a userphotoUpdate - the photo to be createdFacebookException - when Facebook service or network is unavailablepublic boolean deletePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethodsdeletePhoto in interface PhotoMethodsphotoId - the ID of the photoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Poke> getPokes() throws FacebookException
PokeMethodsgetPokes in interface PokeMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Poke> getPokes(Reading reading) throws FacebookException
PokeMethodsgetPokes in interface PokeMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Poke> getPokes(java.lang.String userId) throws FacebookException
PokeMethodsgetPokes in interface PokeMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Poke> getPokes(java.lang.String userId, Reading reading) throws FacebookException
PokeMethodsgetPokes in interface PokeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question> getQuestions() throws FacebookException
QuestionMethodsgetQuestions in interface QuestionMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question> getQuestions(Reading reading) throws FacebookException
QuestionMethodsgetQuestions in interface QuestionMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question> getQuestions(java.lang.String id) throws FacebookException
QuestionMethodsgetQuestions in interface QuestionMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question> getQuestions(java.lang.String id, Reading reading) throws FacebookException
QuestionMethodsgetQuestions in interface QuestionMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic Question getQuestion(java.lang.String questionId) throws FacebookException
QuestionMethodsgetQuestion in interface QuestionMethodsquestionId - the ID of the questionFacebookException - when Facebook service or network is unavailablepublic Question getQuestion(java.lang.String questionId, Reading reading) throws FacebookException
QuestionMethodsgetQuestion in interface QuestionMethodsquestionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String createQuestion(QuestionUpdate questionUpdate) throws FacebookException
QuestionMethodscreateQuestion in interface QuestionMethodsquestionUpdate - the question to be createdFacebookException - when Facebook service or network is unavailablepublic java.lang.String createQuestion(java.lang.String id,
QuestionUpdate questionUpdate)
throws FacebookException
QuestionMethodscreateQuestion in interface QuestionMethodsid - the ID of a pagequestionUpdate - the question to be createdFacebookException - when Facebook service or network is unavailablepublic boolean deleteQuestion(java.lang.String questionId)
throws FacebookException
QuestionMethodsdeleteQuestion in interface QuestionMethodsquestionId - the ID of the questionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId) throws FacebookException
QuestionMethodsgetQuestionOptions in interface QuestionMethodsquestionId - the ID of the questionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId, Reading reading) throws FacebookException
QuestionMethodsgetQuestionOptions in interface QuestionMethodsquestionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String addQuestionOption(java.lang.String questionId,
java.lang.String optionDescription)
throws FacebookException
QuestionMethodsaddQuestionOption in interface QuestionMethodsquestionId - the ID of the questionoptionDescription - descriptionFacebookException - when Facebook service or network is unavailablepublic ResponseList<QuestionVotes> getQuestionOptionVotes(java.lang.String questionId) throws FacebookException
QuestionMethodsgetQuestionOptionVotes in interface QuestionMethodsquestionId - the ID of the questionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Score> getScores() throws FacebookException
GameMethodsgetScores in interface GameMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Score> getScores(Reading reading) throws FacebookException
GameMethodsgetScores in interface GameMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Score> getScores(java.lang.String userId) throws FacebookException
GameMethodsgetScores in interface GameMethodsuserId - the ID of the userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Score> getScores(java.lang.String userId, Reading reading) throws FacebookException
GameMethodsgetScores in interface GameMethodsuserId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean postScore(int scoreValue)
throws FacebookException
GameMethodspostScore in interface GameMethodsscoreValue - numeric score with valueFacebookException - when Facebook service or network is unavailablepublic boolean postScore(java.lang.String userId,
int scoreValue)
throws FacebookException
GameMethodspostScore in interface GameMethodsuserId - the ID of a userscoreValue - numeric score with valueFacebookException - when Facebook service or network is unavailablepublic boolean deleteScore()
throws FacebookException
GameMethodsdeleteScore in interface GameMethodsFacebookException - when Facebook service or network is unavailablepublic boolean deleteScore(java.lang.String userId)
throws FacebookException
GameMethodsdeleteScore in interface GameMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscribedto> getSubscribedto() throws FacebookException
SubscribeMethodsgetSubscribedto in interface SubscribeMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscribedto> getSubscribedto(Reading reading) throws FacebookException
SubscribeMethodsgetSubscribedto in interface SubscribeMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscribedto> getSubscribedto(java.lang.String userId) throws FacebookException
SubscribeMethodsgetSubscribedto in interface SubscribeMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscribedto> getSubscribedto(java.lang.String userId, Reading reading) throws FacebookException
SubscribeMethodsgetSubscribedto in interface SubscribeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscriber> getSubscribers() throws FacebookException
SubscribeMethodsgetSubscribers in interface SubscribeMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscriber> getSubscribers(Reading reading) throws FacebookException
SubscribeMethodsgetSubscribers in interface SubscribeMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscriber> getSubscribers(java.lang.String userId) throws FacebookException
SubscribeMethodsgetSubscribers in interface SubscribeMethodsuserId - the ID of a userFacebookException - when Facebook service or network is unavailablepublic ResponseList<Subscriber> getSubscribers(java.lang.String userId, Reading reading) throws FacebookException
SubscribeMethodsgetSubscribers in interface SubscribeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getVideos() throws FacebookException
VideoMethodsgetVideos in interface VideoMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getVideos(Reading reading) throws FacebookException
VideoMethodsgetVideos in interface VideoMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getVideos(java.lang.String id) throws FacebookException
VideoMethodsgetVideos in interface VideoMethodsid - the ID of a user/pageFacebookException - when Facebook service or network is unavailablepublic ResponseList<Video> getVideos(java.lang.String id, Reading reading) throws FacebookException
VideoMethodsgetVideos in interface VideoMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String postVideo(VideoUpdate videoUpdate) throws FacebookException
VideoMethodspostVideo in interface VideoMethodsvideoUpdate - video contentFacebookException - when Facebook service or network is unavailablepublic java.lang.String postVideo(java.lang.String id,
VideoUpdate videoUpdate)
throws FacebookException
VideoMethodspostVideo in interface VideoMethodsid - the ID of a uservideoUpdate - video contentFacebookException - when Facebook service or network is unavailablepublic Video getVideo(java.lang.String videoId) throws FacebookException
VideoMethodsgetVideo in interface VideoMethodsvideoId - the ID of the videoFacebookException - when Facebook service or network is unavailablepublic Video getVideo(java.lang.String videoId, Reading reading) throws FacebookException
VideoMethodsgetVideo in interface VideoMethodsvideoId - the ID of the videoreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getVideoLikes(java.lang.String videoId) throws FacebookException
VideoMethodsgetVideoLikes in interface VideoMethodsvideoId - the ID of a videoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Like> getVideoLikes(java.lang.String videoId, Reading reading) throws FacebookException
VideoMethodsgetVideoLikes in interface VideoMethodsvideoId - the ID of a videoreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic boolean likeVideo(java.lang.String videoId)
throws FacebookException
VideoMethodslikeVideo in interface VideoMethodsvideoId - the ID of the videoFacebookException - when Facebook service or network is unavailablepublic boolean unlikeVideo(java.lang.String videoId)
throws FacebookException
VideoMethodsunlikeVideo in interface VideoMethodsvideoId - the ID of the videoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getVideoComments(java.lang.String videoId) throws FacebookException
VideoMethodsgetVideoComments in interface VideoMethodsvideoId - the ID of a videoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Comment> getVideoComments(java.lang.String videoId, Reading reading) throws FacebookException
VideoMethodsgetVideoComments in interface VideoMethodsvideoId - the ID of a videoreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentVideo(java.lang.String videoId,
java.lang.String message)
throws FacebookException
VideoMethodscommentVideo in interface VideoMethodsvideoId - the ID of the videomessage - comment textFacebookException - when Facebook service or network is unavailablepublic java.lang.String commentVideo(java.lang.String videoId,
CommentUpdate commentUpdate)
throws FacebookException
VideoMethodscommentVideo in interface VideoMethodsvideoId - the ID of the videocommentUpdate - comment contentFacebookException - when Facebook service or network is unavailablepublic java.net.URL getVideoCover(java.lang.String videoId)
throws FacebookException
VideoMethodsgetVideoCover in interface VideoMethodsvideoId - the ID of a videoFacebookException - when Facebook service or network is unavailablepublic ResponseList<Insight> getInsights(java.lang.String objectId, java.lang.String metric) throws FacebookException
getInsights in interface InsightMethodsFacebookExceptionpublic ResponseList<Insight> getInsights(java.lang.String objectId, java.lang.String metric, Reading reading) throws FacebookException
getInsights in interface InsightMethodsFacebookExceptionpublic ResponseList<Post> searchPosts(java.lang.String query) throws FacebookException
SearchMethodssearchPosts in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Post> searchPosts(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchPosts in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<User> searchUsers(java.lang.String query) throws FacebookException
SearchMethodssearchUsers in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<User> searchUsers(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchUsers in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> searchEvents(java.lang.String query) throws FacebookException
SearchMethodssearchEvents in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Event> searchEvents(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchEvents in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> searchGroups(java.lang.String query) throws FacebookException
SearchMethodssearchGroups in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Group> searchGroups(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchGroups in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Place> searchPlaces(java.lang.String query) throws FacebookException
SearchMethodssearchPlaces in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Place> searchPlaces(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchPlaces in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Place> searchPlaces(java.lang.String query, GeoLocation center, int distance) throws FacebookException
SearchMethodssearchPlaces in interface SearchMethodsquery - the search conditioncenter - latitude and longitudedistance - distanceFacebookException - when Facebook service or network is unavailablepublic ResponseList<Place> searchPlaces(java.lang.String query, GeoLocation center, int distance, Reading reading) throws FacebookException
SearchMethodssearchPlaces in interface SearchMethodsquery - the search conditioncenter - latitude and longitudedistance - distancereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> searchCheckins() throws FacebookException
SearchMethodssearchCheckins in interface SearchMethodsFacebookException - when Facebook service or network is unavailablepublic ResponseList<Checkin> searchCheckins(Reading reading) throws FacebookException
SearchMethodssearchCheckins in interface SearchMethodsreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> searchLocations(GeoLocation center, int distance) throws FacebookException
SearchMethodssearchLocations in interface SearchMethodscenter - latitude and longitudedistance - distanceFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> searchLocations(GeoLocation center, int distance, Reading reading) throws FacebookException
SearchMethodssearchLocations in interface SearchMethodscenter - latitude and longitudedistance - distancereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> searchLocations(java.lang.String placeId) throws FacebookException
SearchMethodssearchLocations in interface SearchMethodsplaceId - specify the ID of the placeFacebookException - when Facebook service or network is unavailablepublic ResponseList<Location> searchLocations(java.lang.String placeId, Reading reading) throws FacebookException
SearchMethodssearchLocations in interface SearchMethodsplaceId - specify the ID of the placereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<facebook4j.internal.org.json.JSONObject> search(java.lang.String query) throws FacebookException
SearchMethodssearch in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<facebook4j.internal.org.json.JSONObject> search(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearch in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic ResponseList<Page> searchPages(java.lang.String query) throws FacebookException
SearchMethodssearchPages in interface SearchMethodsquery - the search conditionFacebookException - when Facebook service or network is unavailablepublic ResponseList<Page> searchPages(java.lang.String query, Reading reading) throws FacebookException
SearchMethodssearchPages in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablepublic facebook4j.internal.org.json.JSONArray executeFQL(java.lang.String query)
throws FacebookException
FQLMethodsexecuteFQL in interface FQLMethodsquery - FQL queryFacebookException - when Facebook service or network is unavailablepublic facebook4j.internal.org.json.JSONArray executeFQL(java.lang.String query,
java.util.Locale locale)
throws FacebookException
FQLMethodsexecuteFQL in interface FQLMethodsquery - FQL querylocale - LocaleFacebookException - when Facebook service or network is unavailablepublic java.util.Map<java.lang.String,facebook4j.internal.org.json.JSONArray> executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries)
throws FacebookException
FQLMethodsexecuteMultiFQL in interface FQLMethodsqueries - FQL queriesFacebookException - when Facebook service or network is unavailablepublic java.util.Map<java.lang.String,facebook4j.internal.org.json.JSONArray> executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries,
java.util.Locale locale)
throws FacebookException
FQLMethodsexecuteMultiFQL in interface FQLMethodsqueries - FQL querieslocale - LocaleFacebookException - when Facebook service or network is unavailableprivate java.lang.String convertQueriesToJson(java.util.Map<java.lang.String,java.lang.String> queries)
public TestUser createTestUser(java.lang.String appId) throws FacebookException
TestUserMethodscreateTestUser in interface TestUserMethodsappId - the ID of the appFacebookException - when Facebook service or network is unavailablepublic TestUser createTestUser(java.lang.String appId, java.lang.String name, java.lang.String locale, java.lang.String permissions) throws FacebookException
TestUserMethodscreateTestUser in interface TestUserMethodsappId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissionsFacebookException - when Facebook service or network is unavailablepublic TestUser createTestUser(java.lang.String appId, java.lang.String name, java.lang.String locale, java.lang.String permissions, boolean installed) throws FacebookException
TestUserMethodscreateTestUser in interface TestUserMethodsappId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissionsinstalled - automatically installs the app for the test user once it is createdFacebookException - when Facebook service or network is unavailablepublic ResponseList<TestUser> getTestUsers(java.lang.String appId) throws FacebookException
TestUserMethodsgetTestUsers in interface TestUserMethodsappId - the ID of the appFacebookException - when Facebook service or network is unavailablepublic ResponseList<TestUser> getTestUsers(java.lang.String appId, java.lang.Integer limit) throws FacebookException
TestUserMethodsgetTestUsers in interface TestUserMethodsappId - the ID of the applimit - number of elements per page (can be null to use default page size)FacebookException - when Facebook service or network is unavailablepublic boolean deleteTestUser(java.lang.String testUserId)
throws FacebookException
TestUserMethodsdeleteTestUser in interface TestUserMethodstestUserId - the ID of the test userFacebookException - when Facebook service or network is unavailablepublic boolean makeFriendTestUser(TestUser testUser1, TestUser testUser2) throws FacebookException
TestUserMethodsmakeFriendTestUser in interface TestUserMethodstestUser1 - test usertestUser2 - test userFacebookException - when Facebook service or network is unavailablepublic <T> ResponseList<T> fetchNext(Paging<T> paging) throws FacebookException
FacebookBasefetchNext in interface FacebookBasepaging - paging information of Graph API resultFacebookException - when Facebook service or network is unavailablepublic <T> ResponseList<T> fetchPrevious(Paging<T> paging) throws FacebookException
FacebookBasefetchPrevious in interface FacebookBasepaging - paging information of Graph API resultFacebookException - when Facebook service or network is unavailableprivate <T> ResponseList<T> fetchPaging(java.net.URL url, java.lang.Class<T> jsonObjectType) throws FacebookException
FacebookExceptionpublic java.util.List<BatchResponse> executeBatch(BatchRequests<BatchRequest> requests) throws FacebookException
BatchRequestsMethodsexecuteBatch in interface BatchRequestsMethodsrequests - batch parametersFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callGetAPI(java.lang.String relativeUrl) throws FacebookException
RawAPIMethodscallGetAPI in interface RawAPIMethodsrelativeUrl - relativeUrlFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callGetAPI(java.lang.String relativeUrl, java.util.Map<java.lang.String,java.lang.String> parameters) throws FacebookException
RawAPIMethodscallGetAPI in interface RawAPIMethodsrelativeUrl - relativeUrlparameters - GET parametersFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callGetAPI(java.lang.String relativeUrl, facebook4j.internal.http.HttpParameter... parameters) throws FacebookException
RawAPIMethodscallGetAPI in interface RawAPIMethodsrelativeUrl - relativeUrlparameters - GET parametersFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callPostAPI(java.lang.String relativeUrl) throws FacebookException
RawAPIMethodscallPostAPI in interface RawAPIMethodsrelativeUrl - relativeUrlFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callPostAPI(java.lang.String relativeUrl, java.util.Map<java.lang.String,java.lang.String> parameters) throws FacebookException
RawAPIMethodscallPostAPI in interface RawAPIMethodsrelativeUrl - relativeUrlparameters - POST parametersFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callPostAPI(java.lang.String relativeUrl, facebook4j.internal.http.HttpParameter... parameters) throws FacebookException
RawAPIMethodscallPostAPI in interface RawAPIMethodsrelativeUrl - relativeUrlparameters - POST parametersFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callDeleteAPI(java.lang.String relativeUrl) throws FacebookException
RawAPIMethodscallDeleteAPI in interface RawAPIMethodsrelativeUrl - relativeUrlFacebookException - when Facebook service or network is unavailablepublic RawAPIResponse callDeleteAPI(java.lang.String relativeUrl, java.util.Map<java.lang.String,java.lang.String> parameters) throws FacebookException
RawAPIMethodscallDeleteAPI in interface RawAPIMethodsrelativeUrl - relativeUrlparameters - parametersFacebookException - when Facebook service or network is unavailableprivate ResponseList<Comment> _getComments(java.lang.String objectId, Reading reading) throws FacebookException
FacebookExceptionprivate ResponseList<Like> _getLikes(java.lang.String objectId, Reading reading) throws FacebookException
FacebookExceptionprivate java.net.URL _getPictureURL(java.lang.String objectId,
PictureSize size)
throws FacebookException
FacebookExceptionprivate java.net.URL _getPictureURL(java.lang.String objectId,
int width,
int height)
throws FacebookException
FacebookExceptionprivate java.net.URL _getSSLPictureURL(java.lang.String objectId,
PictureSize size)
throws FacebookException
FacebookExceptionprivate java.lang.String _comment(java.lang.String objectId,
java.lang.String message)
throws FacebookException
FacebookExceptionprivate java.lang.String _comment(java.lang.String objectId,
CommentUpdate commentUpdate)
throws FacebookException
FacebookExceptionprivate boolean _like(java.lang.String objectId)
throws FacebookException
FacebookExceptionprivate boolean _unlike(java.lang.String objectId)
throws FacebookException
FacebookExceptionprivate java.lang.String _postLink(java.lang.String objectId,
java.net.URL link,
java.lang.String message)
throws FacebookException
FacebookExceptionprivate java.lang.String _postStatusMessage(java.lang.String objectId,
java.lang.String message)
throws FacebookException
FacebookExceptionprivate boolean parseBoolean(facebook4j.internal.http.HttpResponse res)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse get(java.lang.String url)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse get(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse getRaw(java.lang.String url)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse post(java.lang.String url)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse post(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse delete(java.lang.String url)
throws FacebookException
FacebookExceptionprivate facebook4j.internal.http.HttpResponse delete(java.lang.String url,
facebook4j.internal.http.HttpParameter[] parameters)
throws FacebookException
FacebookExceptionprivate boolean isOk(facebook4j.internal.http.HttpResponse response)
private boolean containsAccessToken(facebook4j.internal.http.HttpParameter[] parameters)
throws FacebookException
FacebookExceptionpublic UserMethods users()
public AccountMethods accounts()
public ActivityMethods activities()
activities in interface Facebookpublic AlbumMethods albums()
public CheckinMethods checkins()
public CommentMethods comments()
public DomainMethods domains()
public EventMethods events()
public FamilyMethods family()
public FavoriteMethods favorites()
public FriendMethods friends()
public GameMethods games()
public GroupMethods groups()
public LikeMethods likes()
public LinkMethods links()
public LocationMethods locations()
public MessageMethods messages()
public NoteMethods notes()
public NotificationMethods notifications()
notifications in interface Facebookpublic PageMethods pages()
public PermissionMethods permissions()
permissions in interface Facebookpublic PhotoMethods photos()
public PokeMethods pokes()
public PostMethods posts()
public QuestionMethods questions()
public SubscribeMethods subscribes()
subscribes in interface Facebookpublic VideoMethods videos()
public InsightMethods insights()
public SearchMethods search()
public TestUserMethods testUsers()
public FQLMethods fql()
public BatchRequestsMethods batch()
public RawAPIMethods rawAPI()