|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfacebook4j.FacebookBaseImpl
facebook4j.FacebookImpl
class FacebookImpl
A java representation of the Facebook Graph API
This class is thread safe and can be cached/re-used and used concurrently.
Currently this class is not carefully designed to be extended. It is suggested to extend this class only for mock testing purpose.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
| Fields inherited from class facebook4j.FacebookBaseImpl |
|---|
auth, conf, factory, http, id, name |
| Constructor Summary | |
|---|---|
FacebookImpl(Configuration conf,
Authorization auth)
|
|
| Method Summary | ||
|---|---|---|
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,
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)
|
|
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. |
|
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 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)
|
|
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. |
|
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,
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,
java.lang.String message)
Comments on the photo. |
|
java.lang.String |
commentPost(java.lang.String postId,
java.lang.String message)
Comments on the post. |
|
java.lang.String |
commentVideo(java.lang.String videoId,
java.lang.String message)
Comments on the video. |
|
private boolean |
containsAccessToken(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. |
|
private HttpResponse |
delete(java.lang.String url)
|
|
private HttpResponse |
delete(java.lang.String url,
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 |
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 |
deleteMilestone(java.lang.String milestoneId)
Deletes the milestone. |
|
boolean |
deleteOffer(java.lang.String offerId)
Deletes the createOffer. |
|
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. |
|
boolean |
editEvent(java.lang.String eventId,
EventUpdate eventUpdate)
Updates the event. |
|
JSONArray |
executeFQL(java.lang.String query)
Executes a single FQL query. |
|
JSONArray |
executeFQL(java.lang.String query,
java.util.Locale locale)
Executes a single FQL query. |
|
java.util.Map<java.lang.String,JSONArray> |
executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries)
Executes multiple FQL queries. |
|
java.util.Map<java.lang.String,JSONArray> |
executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries,
java.util.Locale locale)
Executes multiple FQL queries. |
|
|
fetchNext(Paging<T> paging)
Fetches the data of the next page. |
|
private
|
fetchPaging(java.net.URL url,
java.lang.Class<T> jsonObjectType)
|
|
|
fetchPrevious(Paging<T> paging)
Fetches the data of the previous page. |
|
private HttpResponse |
get(java.lang.String url)
|
|
private HttpResponse |
get(java.lang.String url,
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. |
|
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. |
|
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(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,
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 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<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<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. |
|
java.util.List<TestUser> |
getTestUsers(java.lang.String appId)
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. |
|
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. |
|
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(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. |
|
boolean |
likeVideo(java.lang.String videoId)
Likes the video. |
|
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. |
|
private HttpResponse |
post(java.lang.String url)
|
|
private HttpResponse |
post(java.lang.String url,
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. |
|
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. |
|
boolean |
removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
Removes the user from a friend list. |
|
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. |
|
ResponseList<JSONObject> |
search(java.lang.String query)
Searches every type all public objects. |
|
ResponseList<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. |
|
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. |
|
| Methods inherited from class facebook4j.FacebookBaseImpl |
|---|
ensureAuthorizationEnabled, equals, fillInIDAndName, getAuthorization, getConfiguration, getId, getName, getOAuthAccessToken, getOAuthAccessToken, getOAuthAppAccessToken, getOAuthAuthorizationURL, getOAuthAuthorizationURL, hashCode, setFactory, setHttp, setOAuthAccessToken, setOAuthAppId, setOAuthPermissions, shutdown, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface facebook4j.auth.OAuthSupport |
|---|
getOAuthAccessToken, getOAuthAccessToken, getOAuthAppAccessToken, getOAuthAuthorizationURL, getOAuthAuthorizationURL, setOAuthAccessToken, setOAuthAppId, setOAuthPermissions |
| Methods inherited from interface facebook4j.FacebookBase |
|---|
getAuthorization, getConfiguration, getId, getName, shutdown |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
FacebookImpl(Configuration conf,
Authorization auth)
| Method Detail |
|---|
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 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
UserMethods
getMe in interface UserMethodsFacebookException - when Facebook service or network is unavailable
public User getMe(Reading reading)
throws FacebookException
UserMethods
getMe in interface UserMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public User getUser(java.lang.String userId)
throws FacebookException
UserMethods
getUser in interface UserMethodsuserId - the ID of the user
FacebookException - when Facebook service or network is unavailable
public User getUser(java.lang.String userId,
Reading reading)
throws FacebookException
UserMethods
getUser in interface UserMethodsuserId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPictureURL()
throws FacebookException
UserMethods
getPictureURL in interface UserMethodsFacebookException - when Facebook service or network is unavailable
public java.net.URL getPictureURL(PictureSize size)
throws FacebookException
UserMethods
getPictureURL in interface UserMethodssize - picture size
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPictureURL(java.lang.String userId)
throws FacebookException
UserMethods
getPictureURL in interface UserMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
UserMethods
getPictureURL in interface UserMethodsuserId - the ID of a usersize - picture size
FacebookException - when Facebook service or network is unavailable
public java.net.URL getSSLPictureURL()
throws FacebookException
UserMethods
getSSLPictureURL in interface UserMethodsFacebookException - when Facebook service or network is unavailable
public java.net.URL getSSLPictureURL(PictureSize size)
throws FacebookException
UserMethods
getSSLPictureURL in interface UserMethodssize - picture size
FacebookException - when Facebook service or network is unavailable
public java.net.URL getSSLPictureURL(java.lang.String userId)
throws FacebookException
UserMethods
getSSLPictureURL in interface UserMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public java.net.URL getSSLPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
UserMethods
getSSLPictureURL in interface UserMethodsuserId - the ID of a usersize - picture size
FacebookException - when Facebook service or network is unavailable
public java.util.List<User> getUsers(java.lang.String... ids)
throws FacebookException
UserMethods
getUsers in interface UserMethodsids - the IDs of users
FacebookException
public ResponseList<Account> getAccounts()
throws FacebookException
AccountMethods
getAccounts in interface AccountMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Account> getAccounts(Reading reading)
throws FacebookException
AccountMethods
getAccounts in interface AccountMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Account> getAccounts(java.lang.String userId)
throws FacebookException
AccountMethods
getAccounts in interface AccountMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Account> getAccounts(java.lang.String userId,
Reading reading)
throws FacebookException
AccountMethods
getAccounts in interface AccountMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Achievement> getAchievements()
throws FacebookException
GameMethods
getAchievements in interface GameMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Achievement> getAchievements(Reading reading)
throws FacebookException
GameMethods
getAchievements in interface GameMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Achievement> getAchievements(java.lang.String userId)
throws FacebookException
GameMethods
getAchievements in interface GameMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Achievement> getAchievements(java.lang.String userId,
Reading reading)
throws FacebookException
GameMethods
getAchievements in interface GameMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String postAchievement(java.net.URL achievementURL)
throws FacebookException
GameMethods
postAchievement in interface GameMethodsachievementURL - the unique URL of the achievement which the current user achieved
FacebookException - when Facebook service or network is unavailable
public java.lang.String postAchievement(java.lang.String userId,
java.net.URL achievementURL)
throws FacebookException
GameMethods
postAchievement in interface GameMethodsuserId - the ID of a userachievementURL - the unique URL of the achievement which the user achieved
FacebookException - when Facebook service or network is unavailable
public boolean deleteAchievement(java.net.URL achievementURL)
throws FacebookException
GameMethods
deleteAchievement in interface GameMethodsachievementURL - the unique URL of the achievement to delete
FacebookException - when Facebook service or network is unavailable
public boolean deleteAchievement(java.lang.String userId,
java.net.URL achievementURL)
throws FacebookException
GameMethods
deleteAchievement in interface GameMethodsuserId - the ID of a userachievementURL - the unique URL of the achievement to delete
FacebookException - when Facebook service or network is unavailable
public ResponseList<Activity> getActivities()
throws FacebookException
ActivityMethods
getActivities in interface ActivityMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Activity> getActivities(Reading reading)
throws FacebookException
ActivityMethods
getActivities in interface ActivityMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Activity> getActivities(java.lang.String userId)
throws FacebookException
ActivityMethods
getActivities in interface ActivityMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Activity> getActivities(java.lang.String userId,
Reading reading)
throws FacebookException
ActivityMethods
getActivities in interface ActivityMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Album> getAlbums()
throws FacebookException
AlbumMethods
getAlbums in interface AlbumMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Album> getAlbums(Reading reading)
throws FacebookException
AlbumMethods
getAlbums in interface AlbumMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Album> getAlbums(java.lang.String id)
throws FacebookException
AlbumMethods
getAlbums in interface AlbumMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Album> getAlbums(java.lang.String id,
Reading reading)
throws FacebookException
AlbumMethods
getAlbums in interface AlbumMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Album getAlbum(java.lang.String albumId)
throws FacebookException
AlbumMethods
getAlbum in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public Album getAlbum(java.lang.String albumId,
Reading reading)
throws FacebookException
AlbumMethods
getAlbum in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createAlbum(AlbumUpdate albumUpdate)
throws FacebookException
AlbumMethods
createAlbum in interface AlbumMethodsalbumUpdate - the album to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String createAlbum(java.lang.String userId,
AlbumUpdate albumUpdate)
throws FacebookException
AlbumMethods
createAlbum in interface AlbumMethodsuserId - the ID of a useralbumUpdate - the album to be created
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getAlbumPhotos(java.lang.String albumId)
throws FacebookException
AlbumMethods
getAlbumPhotos in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getAlbumPhotos(java.lang.String albumId,
Reading reading)
throws FacebookException
AlbumMethods
getAlbumPhotos in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String addAlbumPhoto(java.lang.String albumId,
Media source)
throws FacebookException
AlbumMethods
addAlbumPhoto in interface AlbumMethodsalbumId - the ID of a albumsource - photo content
FacebookException - when Facebook service or network is unavailable
public java.lang.String addAlbumPhoto(java.lang.String albumId,
Media source,
java.lang.String message)
throws FacebookException
AlbumMethods
addAlbumPhoto in interface AlbumMethodsalbumId - the ID of a albumsource - photo contentmessage - photo description
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getAlbumComments(java.lang.String albumId)
throws FacebookException
AlbumMethods
getAlbumComments in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getAlbumComments(java.lang.String albumId,
Reading reading)
throws FacebookException
AlbumMethods
getAlbumComments in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentAlbum(java.lang.String albumId,
java.lang.String message)
throws FacebookException
AlbumMethods
commentAlbum in interface AlbumMethodsalbumId - the ID of a albummessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getAlbumLikes(java.lang.String albumId)
throws FacebookException
AlbumMethods
getAlbumLikes in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getAlbumLikes(java.lang.String albumId,
Reading reading)
throws FacebookException
AlbumMethods
getAlbumLikes in interface AlbumMethodsalbumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeAlbum(java.lang.String albumId)
throws FacebookException
AlbumMethods
likeAlbum in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public boolean unlikeAlbum(java.lang.String albumId)
throws FacebookException
AlbumMethods
unlikeAlbum in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public java.net.URL getAlbumCoverPhoto(java.lang.String albumId)
throws FacebookException
AlbumMethods
getAlbumCoverPhoto in interface AlbumMethodsalbumId - the ID of a album
FacebookException - when Facebook service or network is unavailable
public ResponseList<Book> getBooks()
throws FacebookException
FavoriteMethods
getBooks in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Book> getBooks(Reading reading)
throws FacebookException
FavoriteMethods
getBooks in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Book> getBooks(java.lang.String userId)
throws FacebookException
FavoriteMethods
getBooks in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Book> getBooks(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getBooks in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> getCheckins()
throws FacebookException
CheckinMethods
getCheckins in interface CheckinMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> getCheckins(Reading reading)
throws FacebookException
CheckinMethods
getCheckins in interface CheckinMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> getCheckins(java.lang.String id)
throws FacebookException
CheckinMethods
getCheckins in interface CheckinMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> getCheckins(java.lang.String id,
Reading reading)
throws FacebookException
CheckinMethods
getCheckins in interface CheckinMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String checkin(CheckinUpdate checkinUpdate)
throws FacebookException
CheckinMethods
checkin in interface CheckinMethodscheckinUpdate - the checkin to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String checkin(java.lang.String userId,
CheckinUpdate checkinUpdate)
throws FacebookException
CheckinMethods
checkin in interface CheckinMethodsuserId - the ID of a usercheckinUpdate - the checkin to be created
FacebookException - when Facebook service or network is unavailable
public Checkin getCheckin(java.lang.String checkinId)
throws FacebookException
CheckinMethods
getCheckin in interface CheckinMethodscheckinId - the ID of a checkin
FacebookException - when Facebook service or network is unavailable
public Checkin getCheckin(java.lang.String checkinId,
Reading reading)
throws FacebookException
CheckinMethods
getCheckin in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getCheckinComments(java.lang.String checkinId)
throws FacebookException
CheckinMethods
getCheckinComments in interface CheckinMethodscheckinId - the ID of a checkin
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getCheckinComments(java.lang.String checkinId,
Reading reading)
throws FacebookException
CheckinMethods
getCheckinComments in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentCheckin(java.lang.String checkinId,
java.lang.String message)
throws FacebookException
CheckinMethods
commentCheckin in interface CheckinMethodscheckinId - the ID of a checkinmessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getCheckinLikes(java.lang.String checkinId)
throws FacebookException
CheckinMethods
getCheckinLikes in interface CheckinMethodscheckinId - the ID of a checkin
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getCheckinLikes(java.lang.String checkinId,
Reading reading)
throws FacebookException
CheckinMethods
getCheckinLikes in interface CheckinMethodscheckinId - the ID of a checkinreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeCheckin(java.lang.String checkinId)
throws FacebookException
CheckinMethods
likeCheckin in interface CheckinMethodscheckinId - the ID of a checkin
FacebookException - when Facebook service or network is unavailable
public boolean unlikeCheckin(java.lang.String checkinId)
throws FacebookException
CheckinMethods
unlikeCheckin in interface CheckinMethodscheckinId - the ID of a checkin
FacebookException - when Facebook service or network is unavailable
public Domain getDomain(java.lang.String domainId)
throws FacebookException
DomainMethods
getDomain in interface DomainMethodsdomainId - the ID of a website domain
FacebookException - when Facebook service or network is unavailable
public Domain getDomainByName(java.lang.String domainName)
throws FacebookException
DomainMethods
getDomainByName in interface DomainMethodsdomainName - the name of a website domain
FacebookException - when Facebook service or network is unavailable
public java.util.List<Domain> getDomainsByName(java.lang.String... domainName)
throws FacebookException
DomainMethods
getDomainsByName in interface DomainMethodsdomainName - the name list of website domain
FacebookException - when Facebook service or network is unavailable
public ResponseList<Event> getEvents()
throws FacebookException
EventMethods
getEvents in interface EventMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Event> getEvents(Reading reading)
throws FacebookException
EventMethods
getEvents in interface EventMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Event> getEvents(java.lang.String id)
throws FacebookException
EventMethods
getEvents in interface EventMethodsid - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Event> getEvents(java.lang.String id,
Reading reading)
throws FacebookException
EventMethods
getEvents in interface EventMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createEvent(EventUpdate eventUpdate)
throws FacebookException
EventMethods
createEvent in interface EventMethodsFacebookException - when Facebook service or network is unavailable
public java.lang.String createEvent(java.lang.String id,
EventUpdate eventUpdate)
throws FacebookException
EventMethods
createEvent in interface EventMethodsid - the ID of a user/pageeventUpdate - a event to be created
FacebookException - when Facebook service or network is unavailable
public Event getEvent(java.lang.String eventId)
throws FacebookException
EventMethods
getEvent in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public Event getEvent(java.lang.String eventId,
Reading reading)
throws FacebookException
EventMethods
getEvent in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean editEvent(java.lang.String eventId,
EventUpdate eventUpdate)
throws FacebookException
EventMethods
editEvent in interface EventMethodseventId - the ID of a eventeventUpdate - the event to be updated
FacebookException - when Facebook service or network is unavailable
public boolean deleteEvent(java.lang.String eventId)
throws FacebookException
EventMethods
deleteEvent in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventLink(java.lang.String eventId,
java.net.URL link)
throws FacebookException
EventMethods
postEventLink in interface EventMethodseventId - the ID of a eventlink - link URL
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventLink(java.lang.String eventId,
java.net.URL link,
java.lang.String message)
throws FacebookException
EventMethods
postEventLink in interface EventMethodseventId - the ID of a eventlink - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventStatusMessage(java.lang.String eventId,
java.lang.String message)
throws FacebookException
EventMethods
postEventStatusMessage in interface EventMethodseventId - the ID of a eventmessage - status message content
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusAsNoreply(java.lang.String eventId)
throws FacebookException
EventMethods
getRSVPStatusAsNoreply in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusAsNoreply(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
getRSVPStatusAsNoreply in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusAsInvited(java.lang.String eventId)
throws FacebookException
EventMethods
getRSVPStatusAsInvited in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusAsInvited(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
getRSVPStatusAsInvited in interface EventMethodseventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public boolean inviteToEvent(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
inviteToEvent in interface EventMethodseventId - the ID of a eventuserId - the ID of the user
FacebookException - when Facebook service or network is unavailable
public boolean inviteToEvent(java.lang.String eventId,
java.lang.String[] userIds)
throws FacebookException
EventMethods
inviteToEvent in interface EventMethodseventId - the ID of a eventuserIds - the IDs of users
FacebookException - when Facebook service or network is unavailable
public boolean uninviteFromEvent(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
uninviteFromEvent in interface EventMethodseventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInAttending(java.lang.String eventId)
throws FacebookException
EventMethods
getRSVPStatusInAttending in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInAttending(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
getRSVPStatusInAttending in interface EventMethodseventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public boolean rsvpEventAsAttending(java.lang.String eventId)
throws FacebookException
EventMethods
rsvpEventAsAttending in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInMaybe(java.lang.String eventId)
throws FacebookException
EventMethods
getRSVPStatusInMaybe in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInMaybe(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
getRSVPStatusInMaybe in interface EventMethodseventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public boolean rsvpEventAsMaybe(java.lang.String eventId)
throws FacebookException
EventMethods
rsvpEventAsMaybe in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInDeclined(java.lang.String eventId)
throws FacebookException
EventMethods
getRSVPStatusInDeclined in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<RSVPStatus> getRSVPStatusInDeclined(java.lang.String eventId,
java.lang.String userId)
throws FacebookException
EventMethods
getRSVPStatusInDeclined in interface EventMethodseventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public boolean rsvpEventAsDeclined(java.lang.String eventId)
throws FacebookException
EventMethods
rsvpEventAsDeclined in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public java.net.URL getEventPictureURL(java.lang.String eventId)
throws FacebookException
EventMethods
getEventPictureURL in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public java.net.URL getEventPictureURL(java.lang.String eventId,
PictureSize size)
throws FacebookException
EventMethods
getEventPictureURL in interface EventMethodseventId - the ID of a eventsize - picture size
FacebookException - when Facebook service or network is unavailable
public boolean updateEventPicture(java.lang.String eventId,
Media source)
throws FacebookException
EventMethods
updateEventPicture in interface EventMethodseventId - the ID of a eventsource - picture resource
FacebookException - when Facebook service or network is unavailable
public boolean deleteEventPicture(java.lang.String eventId)
throws FacebookException
EventMethods
deleteEventPicture in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getEventPhotos(java.lang.String eventId)
throws FacebookException
EventMethods
getEventPhotos in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getEventPhotos(java.lang.String eventId,
Reading reading)
throws FacebookException
EventMethods
getEventPhotos in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventPhoto(java.lang.String eventId,
Media source)
throws FacebookException
EventMethods
postEventPhoto in interface EventMethodseventId - the ID of a eventsource - photo resource
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventPhoto(java.lang.String eventId,
Media source,
java.lang.String message)
throws FacebookException
EventMethods
postEventPhoto in interface EventMethodseventId - the ID of a eventsource - photo resourcemessage - photo description
FacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getEventVideos(java.lang.String eventId)
throws FacebookException
EventMethods
getEventVideos in interface EventMethodseventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getEventVideos(java.lang.String eventId,
Reading reading)
throws FacebookException
EventMethods
getEventVideos in interface EventMethodseventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventVideo(java.lang.String eventId,
Media source)
throws FacebookException
EventMethods
postEventVideo in interface EventMethodseventId - the ID of a eventsource - video resource
FacebookException - when Facebook service or network is unavailable
public java.lang.String postEventVideo(java.lang.String eventId,
Media source,
java.lang.String title,
java.lang.String description)
throws FacebookException
EventMethods
postEventVideo in interface EventMethodseventId - the ID of a eventsource - video resourcetitle - video titledescription - video description
FacebookException - when Facebook service or network is unavailable
public ResponseList<Family> getFamily()
throws FacebookException
FamilyMethods
getFamily in interface FamilyMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Family> getFamily(Reading reading)
throws FacebookException
FamilyMethods
getFamily in interface FamilyMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Family> getFamily(java.lang.String userId)
throws FacebookException
FamilyMethods
getFamily in interface FamilyMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Family> getFamily(java.lang.String userId,
Reading reading)
throws FacebookException
FamilyMethods
getFamily in interface FamilyMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getFeed()
throws FacebookException
PostMethods
getFeed in interface PostMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getFeed(Reading reading)
throws FacebookException
PostMethods
getFeed in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getFeed(java.lang.String id)
throws FacebookException
PostMethods
getFeed in interface PostMethodsid - the ID of a user/page/event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getFeed(java.lang.String id,
Reading reading)
throws FacebookException
PostMethods
getFeed in interface PostMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getHome()
throws FacebookException
PostMethods
getHome in interface PostMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getHome(Reading reading)
throws FacebookException
PostMethods
getHome in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPosts()
throws FacebookException
PostMethods
getPosts in interface PostMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPosts(Reading reading)
throws FacebookException
PostMethods
getPosts in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPosts(java.lang.String id)
throws FacebookException
PostMethods
getPosts in interface PostMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPosts(java.lang.String id,
Reading reading)
throws FacebookException
PostMethods
getPosts in interface PostMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getStatuses()
throws FacebookException
PostMethods
getStatuses in interface PostMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getStatuses(Reading reading)
throws FacebookException
PostMethods
getStatuses in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getStatuses(java.lang.String id)
throws FacebookException
PostMethods
getStatuses in interface PostMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getStatuses(java.lang.String id,
Reading reading)
throws FacebookException
PostMethods
getStatuses in interface PostMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Post getPost(java.lang.String postId)
throws FacebookException
PostMethods
getPost in interface PostMethodspostId - the ID of the post
FacebookException - when Facebook service or network is unavailable
public Post getPost(java.lang.String postId,
Reading reading)
throws FacebookException
PostMethods
getPost in interface PostMethodspostId - the ID of the postreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean deletePost(java.lang.String postId)
throws FacebookException
PostMethods
deletePost in interface PostMethodspostId - the ID of the post
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getPostComments(java.lang.String postId)
throws FacebookException
PostMethods
getPostComments in interface PostMethodspostId - the ID of a post
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getPostComments(java.lang.String postId,
Reading reading)
throws FacebookException
PostMethods
getPostComments in interface PostMethodspostId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentPost(java.lang.String postId,
java.lang.String message)
throws FacebookException
PostMethods
commentPost in interface PostMethodspostId - the ID of the postmessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getPostLikes(java.lang.String postId)
throws FacebookException
PostMethods
getPostLikes in interface PostMethodspostId - the ID of a post
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getPostLikes(java.lang.String postId,
Reading reading)
throws FacebookException
PostMethods
getPostLikes in interface PostMethodspostId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likePost(java.lang.String postId)
throws FacebookException
PostMethods
likePost in interface PostMethodspostId - the ID of the post
FacebookException - when Facebook service or network is unavailable
public boolean unlikePost(java.lang.String postId)
throws FacebookException
PostMethods
unlikePost in interface PostMethodspostId - the ID of the post
FacebookException - when Facebook service or network is unavailable
public ResponseList<Insight> getPostInsights(java.lang.String postId)
throws FacebookException
FacebookException
public java.lang.String postFeed(PostUpdate postUpdate)
throws FacebookException
PostMethods
postFeed in interface PostMethodspostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postFeed(java.lang.String id,
PostUpdate postUpdate)
throws FacebookException
PostMethods
postFeed in interface PostMethodsid - the ID of a user/page/eventpostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postStatusMessage(java.lang.String message)
throws FacebookException
PostMethods
postStatusMessage in interface PostMethodsmessage - link message
FacebookException - when Facebook service or network is unavailable
public java.lang.String postStatusMessage(java.lang.String id,
java.lang.String message)
throws FacebookException
PostMethods
postStatusMessage in interface PostMethodsid - the ID of a user/pagemessage - link message
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getTagged()
throws FacebookException
PostMethods
getTagged in interface PostMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getTagged(Reading reading)
throws FacebookException
PostMethods
getTagged in interface PostMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getTagged(java.lang.String userId)
throws FacebookException
PostMethods
getTagged in interface PostMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getTagged(java.lang.String userId,
Reading reading)
throws FacebookException
PostMethods
getTagged in interface PostMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friendlist> getFriendlists()
throws FacebookException
FriendMethods
getFriendlists in interface FriendMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Friendlist> getFriendlists(Reading reading)
throws FacebookException
FriendMethods
getFriendlists in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friendlist> getFriendlists(java.lang.String userId)
throws FacebookException
FriendMethods
getFriendlists in interface FriendMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friendlist> getFriendlists(java.lang.String userId,
Reading reading)
throws FacebookException
FriendMethods
getFriendlists in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<FriendRequest> getFriendRequests()
throws FacebookException
FriendMethods
getFriendRequests in interface FriendMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<FriendRequest> getFriendRequests(Reading reading)
throws FacebookException
FriendMethods
getFriendRequests in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<FriendRequest> getFriendRequests(java.lang.String userId)
throws FacebookException
FriendMethods
getFriendRequests in interface FriendMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<FriendRequest> getFriendRequests(java.lang.String userId,
Reading reading)
throws FacebookException
FriendMethods
getFriendRequests in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getFriends()
throws FacebookException
FriendMethods
getFriends in interface FriendMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getFriends(Reading reading)
throws FacebookException
FriendMethods
getFriends in interface FriendMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getFriends(java.lang.String userId)
throws FacebookException
FriendMethods
getFriends in interface FriendMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getFriends(java.lang.String userId,
Reading reading)
throws FacebookException
FriendMethods
getFriends in interface FriendMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getMutualFriends(java.lang.String friendUserId)
throws FacebookException
FriendMethods
getMutualFriends in interface FriendMethodsfriendUserId - the ID of a friend
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getMutualFriends(java.lang.String friendUserId,
Reading reading)
throws FacebookException
FriendMethods
getMutualFriends in interface FriendMethodsfriendUserId - the ID of a friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getMutualFriends(java.lang.String userId1,
java.lang.String userId2)
throws FacebookException
FriendMethods
getMutualFriends in interface FriendMethodsuserId1 - the ID of a useruserId2 - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getMutualFriends(java.lang.String userId1,
java.lang.String userId2,
Reading reading)
throws FacebookException
FriendMethods
getMutualFriends in interface FriendMethodsuserId1 - the ID of a useruserId2 - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createFriendlist(java.lang.String friendlistName)
throws FacebookException
FriendMethods
createFriendlist in interface FriendMethodsfriendlistName - friend list name
FacebookException - when Facebook service or network is unavailable
public java.lang.String createFriendlist(java.lang.String userId,
java.lang.String friendlistName)
throws FacebookException
FriendMethods
createFriendlist in interface FriendMethodsuserId - the ID of a userfriendlistName - friend list name. Maximum 25 characters
FacebookException - when Facebook service or network is unavailable
public boolean deleteFriendlist(java.lang.String friendlistId)
throws FacebookException
FriendMethods
deleteFriendlist in interface FriendMethodsfriendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
public boolean addFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
FriendMethods
addFriendlistMember in interface FriendMethodsfriendlistId - the ID of the friend listuserId - the ID of target user
FacebookException - when Facebook service or network is unavailable
public boolean removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
FriendMethods
removeFriendlistMember in interface FriendMethodsfriendlistId - the ID of a friend listuserId - the ID of a target user
FacebookException - when Facebook service or network is unavailable
public Friendlist getFriendlist(java.lang.String friendlistId)
throws FacebookException
FriendMethods
getFriendlist in interface FriendMethodsfriendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
public Friendlist getFriendlist(java.lang.String friendlistId,
Reading reading)
throws FacebookException
FriendMethods
getFriendlist in interface FriendMethodsfriendlistId - the ID of the friend listreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getFriendlistMembers(java.lang.String friendlistId)
throws FacebookException
FriendMethods
getFriendlistMembers in interface FriendMethodsfriendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getBelongsFriend(java.lang.String friendId)
throws FacebookException
FriendMethods
getBelongsFriend in interface FriendMethodsfriendId - the ID of the friend
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getBelongsFriend(java.lang.String friendId,
Reading reading)
throws FacebookException
FriendMethods
getBelongsFriend in interface FriendMethodsfriendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getBelongsFriend(java.lang.String userId,
java.lang.String friendId)
throws FacebookException
FriendMethods
getBelongsFriend in interface FriendMethodsuserId - the ID of a userfriendId - the ID of the friend
FacebookException - when Facebook service or network is unavailable
public ResponseList<Friend> getBelongsFriend(java.lang.String userId,
java.lang.String friendId,
Reading reading)
throws FacebookException
FriendMethods
getBelongsFriend in interface FriendMethodsuserId - the ID of a userfriendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Game> getGames()
throws FacebookException
FavoriteMethods
getGames in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Game> getGames(Reading reading)
throws FacebookException
FavoriteMethods
getGames in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Game> getGames(java.lang.String userId)
throws FacebookException
FavoriteMethods
getGames in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Game> getGames(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getGames in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Movie> getMovies()
throws FacebookException
FavoriteMethods
getMovies in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Movie> getMovies(Reading reading)
throws FacebookException
FavoriteMethods
getMovies in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Movie> getMovies(java.lang.String userId)
throws FacebookException
FavoriteMethods
getMovies in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Movie> getMovies(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getMovies in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Music> getMusic()
throws FacebookException
FavoriteMethods
getMusic in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Music> getMusic(Reading reading)
throws FacebookException
FavoriteMethods
getMusic in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Music> getMusic(java.lang.String userId)
throws FacebookException
FavoriteMethods
getMusic in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Music> getMusic(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getMusic in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Television> getTelevision()
throws FacebookException
FavoriteMethods
getTelevision in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Television> getTelevision(Reading reading)
throws FacebookException
FavoriteMethods
getTelevision in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Television> getTelevision(java.lang.String userId)
throws FacebookException
FavoriteMethods
getTelevision in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Television> getTelevision(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getTelevision in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Interest> getInterests()
throws FacebookException
FavoriteMethods
getInterests in interface FavoriteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Interest> getInterests(Reading reading)
throws FacebookException
FavoriteMethods
getInterests in interface FavoriteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Interest> getInterests(java.lang.String userId)
throws FacebookException
FavoriteMethods
getInterests in interface FavoriteMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Interest> getInterests(java.lang.String userId,
Reading reading)
throws FacebookException
FavoriteMethods
getInterests in interface FavoriteMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Group> getGroups()
throws FacebookException
GroupMethods
getGroups in interface GroupMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Group> getGroups(Reading reading)
throws FacebookException
GroupMethods
getGroups in interface GroupMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Group> getGroups(java.lang.String userId)
throws FacebookException
GroupMethods
getGroups in interface GroupMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Group> getGroups(java.lang.String userId,
Reading reading)
throws FacebookException
GroupMethods
getGroups in interface GroupMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Group getGroup(java.lang.String groupId)
throws FacebookException
GroupMethods
getGroup in interface GroupMethodsgroupId - the ID of the group
FacebookException - when Facebook service or network is unavailable
public Group getGroup(java.lang.String groupId,
Reading reading)
throws FacebookException
GroupMethods
getGroup in interface GroupMethodsgroupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getGroupFeed(java.lang.String groupId)
throws FacebookException
GroupMethods
getGroupFeed in interface GroupMethodsgroupId - the ID of the group
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getGroupFeed(java.lang.String groupId,
Reading reading)
throws FacebookException
GroupMethods
getGroupFeed in interface GroupMethodsgroupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<GroupMember> getGroupMembers(java.lang.String groupId)
throws FacebookException
GroupMethods
getGroupMembers in interface GroupMethodsgroupId - the ID of a group
FacebookException - when Facebook service or network is unavailable
public ResponseList<GroupMember> getGroupMembers(java.lang.String groupId,
Reading reading)
throws FacebookException
GroupMethods
getGroupMembers in interface GroupMethodsgroupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.net.URL getGroupPictureURL(java.lang.String groupId)
throws FacebookException
GroupMethods
getGroupPictureURL in interface GroupMethodsgroupId - the ID of a group
FacebookException - when Facebook service or network is unavailable
public ResponseList<GroupDoc> getGroupDocs(java.lang.String groupId)
throws FacebookException
GroupMethods
getGroupDocs in interface GroupMethodsgroupId - the ID of a group
FacebookException - when Facebook service or network is unavailable
public ResponseList<GroupDoc> getGroupDocs(java.lang.String groupId,
Reading reading)
throws FacebookException
GroupMethods
getGroupDocs in interface GroupMethodsgroupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String postGroupLink(java.lang.String groupId,
java.net.URL linkURL)
throws FacebookException
GroupMethods
postGroupLink in interface GroupMethodsgroupId - the ID of a grouplinkURL - link URL
FacebookException - when Facebook service or network is unavailable
public java.lang.String postGroupLink(java.lang.String groupId,
java.net.URL linkURL,
java.lang.String message)
throws FacebookException
GroupMethods
postGroupLink in interface GroupMethodsgroupId - the ID of a grouplinkURL - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
public java.lang.String postGroupFeed(java.lang.String groupId,
PostUpdate postUpdate)
throws FacebookException
GroupMethods
postGroupFeed in interface GroupMethodsgroupId - the ID of a grouppostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postGroupStatusMessage(java.lang.String groupId,
java.lang.String message)
throws FacebookException
GroupMethods
postGroupStatusMessage in interface GroupMethodsgroupId - the ID of a groupmessage - status message content
FacebookException - when Facebook service or network is unavailable
public InboxResponseList<Message> getInbox()
throws FacebookException
MessageMethods
getInbox in interface MessageMethodsFacebookException - when Facebook service or network is unavailable
public InboxResponseList<Message> getInbox(Reading reading)
throws FacebookException
MessageMethods
getInbox in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public InboxResponseList<Message> getInbox(java.lang.String userId)
throws FacebookException
MessageMethods
getInbox in interface MessageMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public InboxResponseList<Message> getInbox(java.lang.String userId,
Reading reading)
throws FacebookException
MessageMethods
getInbox in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getOutbox()
throws FacebookException
MessageMethods
getOutbox in interface MessageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getOutbox(Reading reading)
throws FacebookException
MessageMethods
getOutbox in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getOutbox(java.lang.String userId)
throws FacebookException
MessageMethods
getOutbox in interface MessageMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getOutbox(java.lang.String userId,
Reading reading)
throws FacebookException
MessageMethods
getOutbox in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getUpdates()
throws FacebookException
MessageMethods
getUpdates in interface MessageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getUpdates(Reading reading)
throws FacebookException
MessageMethods
getUpdates in interface MessageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getUpdates(java.lang.String userId)
throws FacebookException
MessageMethods
getUpdates in interface MessageMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Message> getUpdates(java.lang.String userId,
Reading reading)
throws FacebookException
MessageMethods
getUpdates in interface MessageMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Message getMessage(java.lang.String messageId)
throws FacebookException
MessageMethods
getMessage in interface MessageMethodsmessageId - the ID of the message
FacebookException - when Facebook service or network is unavailable
public Message getMessage(java.lang.String messageId,
Reading reading)
throws FacebookException
MessageMethods
getMessage in interface MessageMethodsmessageId - the ID of the messagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getUserLikes()
throws FacebookException
LikeMethods
getUserLikes in interface LikeMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getUserLikes(Reading reading)
throws FacebookException
LikeMethods
getUserLikes in interface LikeMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getUserLikes(java.lang.String userId)
throws FacebookException
LikeMethods
getUserLikes in interface LikeMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getUserLikes(java.lang.String userId,
Reading reading)
throws FacebookException
LikeMethods
getUserLikes in interface LikeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Comment getComment(java.lang.String commentId)
throws FacebookException
CommentMethods
getComment in interface CommentMethodscommentId - the ID of a comment
FacebookException - when Facebook service or network is unavailable
public boolean deleteComment(java.lang.String commentId)
throws FacebookException
CommentMethods
deleteComment in interface CommentMethodscommentId - the ID of a comment
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getCommentLikes(java.lang.String commentId)
throws FacebookException
CommentMethods
getCommentLikes in interface CommentMethodscommentId - the ID of a comment
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getCommentLikes(java.lang.String commentId,
Reading reading)
throws FacebookException
CommentMethods
getCommentLikes in interface CommentMethodscommentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeComment(java.lang.String commentId)
throws FacebookException
CommentMethods
likeComment in interface CommentMethodscommentId - the ID of a comment
FacebookException - when Facebook service or network is unavailable
public boolean unlikeComment(java.lang.String commentId)
throws FacebookException
CommentMethods
unlikeComment in interface CommentMethodscommentId - the ID of a comment
FacebookException - when Facebook service or network is unavailable
public ResponseList<Link> getLinks()
throws FacebookException
LinkMethods
getLinks in interface LinkMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Link> getLinks(Reading reading)
throws FacebookException
LinkMethods
getLinks in interface LinkMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Link> getLinks(java.lang.String id)
throws FacebookException
LinkMethods
getLinks in interface LinkMethodsid - the ID of a user/page/event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Link> getLinks(java.lang.String id,
Reading reading)
throws FacebookException
LinkMethods
getLinks in interface LinkMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Link getLink(java.lang.String linkId)
throws FacebookException
LinkMethods
getLink in interface LinkMethodslinkId - the ID of the link
FacebookException - when Facebook service or network is unavailable
public Link getLink(java.lang.String linkId,
Reading reading)
throws FacebookException
LinkMethods
getLink in interface LinkMethodslinkId - the ID of the linkreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getLinkComments(java.lang.String linkId)
throws FacebookException
LinkMethods
getLinkComments in interface LinkMethodslinkId - the ID of a link
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getLinkComments(java.lang.String linkId,
Reading reading)
throws FacebookException
LinkMethods
getLinkComments in interface LinkMethodslinkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentLink(java.lang.String linkId,
java.lang.String message)
throws FacebookException
LinkMethods
commentLink in interface LinkMethodslinkId - the ID of the linkmessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getLinkLikes(java.lang.String linkId)
throws FacebookException
LinkMethods
getLinkLikes in interface LinkMethodslinkId - the ID of a link
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getLinkLikes(java.lang.String linkId,
Reading reading)
throws FacebookException
LinkMethods
getLinkLikes in interface LinkMethodslinkId - the ID of a linkreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeLink(java.lang.String linkId)
throws FacebookException
LinkMethods
likeLink in interface LinkMethodslinkId - the ID of the link
FacebookException - when Facebook service or network is unavailable
public boolean unlikeLink(java.lang.String linkId)
throws FacebookException
LinkMethods
unlikeLink in interface LinkMethodslinkId - the ID of the link
FacebookException - when Facebook service or network is unavailable
public java.lang.String postLink(java.net.URL link)
throws FacebookException
PostMethods
postLink in interface PostMethodslink - link URL
FacebookException - when Facebook service or network is unavailable
public java.lang.String postLink(java.net.URL link,
java.lang.String message)
throws FacebookException
PostMethods
postLink in interface PostMethodslink - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
public java.lang.String postLink(java.lang.String userId,
java.net.URL link)
throws FacebookException
PostMethods
postLink in interface PostMethodsuserId - the ID of a userlink - link URL
FacebookException - when Facebook service or network is unavailable
public java.lang.String postLink(java.lang.String userId,
java.net.URL link,
java.lang.String message)
throws FacebookException
PostMethods
postLink in interface PostMethodsuserId - the ID of a userlink - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> getLocations()
throws FacebookException
LocationMethods
getLocations in interface LocationMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Location> getLocations(Reading reading)
throws FacebookException
LocationMethods
getLocations in interface LocationMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> getLocations(java.lang.String userId)
throws FacebookException
LocationMethods
getLocations in interface LocationMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> getLocations(java.lang.String userId,
Reading reading)
throws FacebookException
LocationMethods
getLocations in interface LocationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Note> getNotes()
throws FacebookException
NoteMethods
getNotes in interface NoteMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Note> getNotes(Reading reading)
throws FacebookException
NoteMethods
getNotes in interface NoteMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Note> getNotes(java.lang.String id)
throws FacebookException
NoteMethods
getNotes in interface NoteMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Note> getNotes(java.lang.String id,
Reading reading)
throws FacebookException
NoteMethods
getNotes in interface NoteMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createNote(java.lang.String subject,
java.lang.String message)
throws FacebookException
NoteMethods
createNote in interface NoteMethodssubject - the subject of the notemessage - note content
FacebookException - when Facebook service or network is unavailable
public java.lang.String createNote(java.lang.String id,
java.lang.String subject,
java.lang.String message)
throws FacebookException
NoteMethods
createNote in interface NoteMethodsid - the ID of a user/pagesubject - the subject of the notemessage - note content
FacebookException - when Facebook service or network is unavailable
public Note getNote(java.lang.String noteId)
throws FacebookException
NoteMethods
getNote in interface NoteMethodsnoteId - the ID of the note
FacebookException - when Facebook service or network is unavailable
public Note getNote(java.lang.String noteId,
Reading reading)
throws FacebookException
NoteMethods
getNote in interface NoteMethodsnoteId - the ID of the notereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getNoteComments(java.lang.String noteId)
throws FacebookException
NoteMethods
getNoteComments in interface NoteMethodsnoteId - the ID of a note
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getNoteComments(java.lang.String noteId,
Reading reading)
throws FacebookException
NoteMethods
getNoteComments in interface NoteMethodsnoteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentNote(java.lang.String noteId,
java.lang.String message)
throws FacebookException
NoteMethods
commentNote in interface NoteMethodsnoteId - the ID of the notemessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getNoteLikes(java.lang.String noteId)
throws FacebookException
NoteMethods
getNoteLikes in interface NoteMethodsnoteId - the ID of a note
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getNoteLikes(java.lang.String noteId,
Reading reading)
throws FacebookException
NoteMethods
getNoteLikes in interface NoteMethodsnoteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeNote(java.lang.String noteId)
throws FacebookException
NoteMethods
likeNote in interface NoteMethodsnoteId - the ID of the note
FacebookException - when Facebook service or network is unavailable
public boolean unlikeNote(java.lang.String noteId)
throws FacebookException
NoteMethods
unlikeNote in interface NoteMethodsnoteId - the ID of the note
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications()
throws FacebookException
NotificationMethods
getNotifications in interface NotificationMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(boolean includeRead)
throws FacebookException
NotificationMethods
getNotifications in interface NotificationMethodsincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unread
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(Reading reading)
throws FacebookException
NotificationMethods
getNotifications in interface NotificationMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(Reading reading,
boolean includeRead)
throws FacebookException
NotificationMethods
getNotifications 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 unread
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(java.lang.String userId)
throws FacebookException
NotificationMethods
getNotifications in interface NotificationMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(java.lang.String userId,
boolean includeRead)
throws FacebookException
NotificationMethods
getNotifications 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 unread
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(java.lang.String userId,
Reading reading)
throws FacebookException
NotificationMethods
getNotifications in interface NotificationMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Notification> getNotifications(java.lang.String userId,
Reading reading,
boolean includeRead)
throws FacebookException
NotificationMethods
getNotifications 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 unread
FacebookException - when Facebook service or network is unavailable
public boolean markNotificationAsRead(java.lang.String notificationId)
throws FacebookException
NotificationMethods
markNotificationAsRead in interface NotificationMethodsnotificationId - the ID of the notification
FacebookException - when Facebook service or network is unavailable
public Page getPage()
throws FacebookException
PageMethods
getPage in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public Page getPage(Reading reading)
throws FacebookException
PageMethods
getPage in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Page getPage(java.lang.String pageId)
throws FacebookException
PageMethods
getPage in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public Page getPage(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getPage in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPagePictureURL()
throws FacebookException
PageMethods
getPagePictureURL in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public java.net.URL getPagePictureURL(PictureSize size)
throws FacebookException
PageMethods
getPagePictureURL in interface PageMethodssize - picture size
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPagePictureURL(java.lang.String pageId)
throws FacebookException
PageMethods
getPagePictureURL in interface PageMethodspageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPagePictureURL(java.lang.String pageId,
PictureSize size)
throws FacebookException
PageMethods
getPagePictureURL in interface PageMethodspageId - the ID of a pagesize - picture size
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPromotablePosts()
throws FacebookException
PageMethods
getPromotablePosts in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPromotablePosts(Reading reading)
throws FacebookException
PageMethods
getPromotablePosts in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPromotablePosts(java.lang.String pageId)
throws FacebookException
PageMethods
getPromotablePosts in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> getPromotablePosts(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getPromotablePosts in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean updatePageBasicAttributes(PageUpdate pageUpdate)
throws FacebookException
PageMethods
updatePageBasicAttributes in interface PageMethodspageUpdate - the page to be updated
FacebookException - when Facebook service or network is unavailable
public boolean updatePageBasicAttributes(java.lang.String pageId,
PageUpdate pageUpdate)
throws FacebookException
PageMethods
updatePageBasicAttributes in interface PageMethodspageId - the ID of the pagepageUpdate - the page to be updated
FacebookException - when Facebook service or network is unavailable
public boolean updatePageProfilePhoto(java.net.URL picture)
throws FacebookException
PageMethods
updatePageProfilePhoto in interface PageMethodspicture - A URL to the photo
FacebookException - when Facebook service or network is unavailable
public boolean updatePageProfilePhoto(java.lang.String pageId,
java.net.URL picture)
throws FacebookException
PageMethods
updatePageProfilePhoto in interface PageMethodspageId - the ID of the pagepicture - A URL to the photo
FacebookException - when Facebook service or network is unavailable
public boolean updatePageProfilePhoto(Media source)
throws FacebookException
PageMethods
updatePageProfilePhoto in interface PageMethodssource - Photo content
FacebookException - when Facebook service or network is unavailable
public boolean updatePageProfilePhoto(java.lang.String pageId,
Media source)
throws FacebookException
PageMethods
updatePageProfilePhoto in interface PageMethodspageId - the ID of the pagesource - Photo content
FacebookException - when Facebook service or network is unavailable
public boolean updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate)
throws FacebookException
PageMethods
updatePageCoverPhoto in interface PageMethodspageCoverUpdate - the cover photo for the page to be updated
FacebookException - when Facebook service or network is unavailable
public boolean updatePageCoverPhoto(java.lang.String pageId,
PageCoverUpdate pageCoverUpdate)
throws FacebookException
PageMethods
updatePageCoverPhoto in interface PageMethodspageId - the ID of the pagepageCoverUpdate - the cover photo for the page to be updated
FacebookException - when Facebook service or network is unavailable
public ResponseList<PageSetting> getPageSettings()
throws FacebookException
PageMethods
getPageSettings in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<PageSetting> getPageSettings(java.lang.String pageId)
throws FacebookException
PageMethods
getPageSettings in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public boolean updatePageSetting(PageSettingUpdate pageSettingUpdate)
throws FacebookException
PageMethods
updatePageSetting in interface PageMethodspageSettingUpdate - setting
FacebookException - when Facebook service or network is unavailable
public boolean updatePageSetting(java.lang.String pageId,
PageSettingUpdate pageSettingUpdate)
throws FacebookException
PageMethods
updatePageSetting in interface PageMethodspageId - the ID of the pagepageSettingUpdate - setting
FacebookException - when Facebook service or network is unavailable
public java.lang.String postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
PageMethods
postBackdatingFeed in interface PageMethodsbackdatingPostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postBackdatingFeed(java.lang.String pageId,
BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
PageMethods
postBackdatingFeed in interface PageMethodspageId - the ID of a pagebackdatingPostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
PageMethods
postPagePhoto in interface PageMethodspagePhotoUpdate - photo content, targeting and more
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPagePhoto(java.lang.String pageId,
PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
PageMethods
postPagePhoto in interface PageMethodspageId - the ID of a pagepagePhotoUpdate - photo content, targeting and more
FacebookException - when Facebook service or network is unavailable
public ResponseList<Page> getGlobalBrandChildren(java.lang.String pageId)
throws FacebookException
PageMethods
getGlobalBrandChildren in interface PageMethodspageId - the ID of the page
FacebookException
public ResponseList<Page> getGlobalBrandChildren(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getGlobalBrandChildren in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
public ResponseList<Insight> getPageInsights(java.lang.String pageId)
throws FacebookException
PageMethods
getPageInsights in interface PageMethodspageId - the ID of the page
FacebookException
public ResponseList<Insight> getPageInsights(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getPageInsights in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
public ResponseList<Tagged> getPageTagged(java.lang.String pageId)
throws FacebookException
PageMethods
getPageTagged in interface PageMethodspageId - the ID of the page
FacebookException
public ResponseList<Tagged> getPageTagged(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getPageTagged in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
public ResponseList<Milestone> getMilestones()
throws FacebookException
PageMethods
getMilestones in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Milestone> getMilestones(Reading reading)
throws FacebookException
PageMethods
getMilestones in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Milestone> getMilestones(java.lang.String pageId)
throws FacebookException
PageMethods
getMilestones in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Milestone> getMilestones(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getMilestones in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createMilestone(MilestoneUpdate milestoneUpdate)
throws FacebookException
PageMethods
createMilestone in interface PageMethodsmilestoneUpdate - a milestone to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String createMilestone(java.lang.String pageId,
MilestoneUpdate milestoneUpdate)
throws FacebookException
PageMethods
createMilestone in interface PageMethodspageId - the ID of the pagemilestoneUpdate - a milestone to be created
FacebookException - when Facebook service or network is unavailable
public boolean deleteMilestone(java.lang.String milestoneId)
throws FacebookException
PageMethods
deleteMilestone in interface PageMethodsmilestoneId - the ID of a milestone
FacebookException - when Facebook service or network is unavailable
public ResponseList<Admin> getPageAdmins()
throws FacebookException
PageMethods
getPageAdmins in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Admin> getPageAdmins(Reading reading)
throws FacebookException
PageMethods
getPageAdmins in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Admin> getPageAdmins(java.lang.String pageId)
throws FacebookException
PageMethods
getPageAdmins in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Admin> getPageAdmins(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getPageAdmins in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getTabs()
throws FacebookException
PageMethods
getTabs in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getTabs(Reading reading)
throws FacebookException
PageMethods
getTabs in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getTabs(java.lang.String pageId)
throws FacebookException
PageMethods
getTabs in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getTabs(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getTabs in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getInstalledTabs(java.util.List<java.lang.String> appIds)
throws FacebookException
PageMethods
getInstalledTabs in interface PageMethodsappIds - the IDs of app
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getInstalledTabs(java.util.List<java.lang.String> appIds,
Reading reading)
throws FacebookException
PageMethods
getInstalledTabs in interface PageMethodsappIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds)
throws FacebookException
PageMethods
getInstalledTabs in interface PageMethodspageId - the ID of the pageappIds - the IDs of app
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tab> getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds,
Reading reading)
throws FacebookException
PageMethods
getInstalledTabs in interface PageMethodspageId - the ID of the pageappIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean installTab(java.lang.String appId)
throws FacebookException
PageMethods
installTab in interface PageMethodsappId - the ID of the application for which to install the tab
FacebookException
public boolean installTab(java.lang.String pageId,
java.lang.String appId)
throws FacebookException
PageMethods
installTab in interface PageMethodspageId - the ID of the pageappId - the ID of the application for which to install the tab
FacebookException
public boolean updateTab(java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
PageMethods
updateTab in interface PageMethodstabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
public boolean updateTab(java.lang.String pageId,
java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
PageMethods
updateTab in interface PageMethodspageId - the ID of the pagetabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
public boolean deleteTab(java.lang.String tabId)
throws FacebookException
PageMethods
deleteTab in interface PageMethodstabId - the ID of the tab
FacebookException
public boolean deleteTab(java.lang.String pageId,
java.lang.String tabId)
throws FacebookException
PageMethods
deleteTab in interface PageMethodspageId - the ID of the pagetabId - the ID of the tab
FacebookException
public boolean displayPagePost(java.lang.String postId,
boolean isHidden)
throws FacebookException
PageMethods
displayPagePost in interface PageMethodspostId - the ID of the post in the pageisHidden - whether a post is hidden
FacebookException
public ResponseList<User> getBlocked()
throws FacebookException
PageMethods
getBlocked in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<User> getBlocked(Reading reading)
throws FacebookException
PageMethods
getBlocked in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<User> getBlocked(java.lang.String pageId)
throws FacebookException
PageMethods
getBlocked in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<User> getBlocked(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getBlocked in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.util.Map<java.lang.String,java.lang.Boolean> block(java.util.List<java.lang.String> userIds)
throws FacebookException
PageMethods
block in interface PageMethodsuserIds - user IDs you wish to block
FacebookException - when Facebook service or network is unavailable
public java.util.Map<java.lang.String,java.lang.Boolean> block(java.lang.String pageId,
java.util.List<java.lang.String> userIds)
throws FacebookException
PageMethods
block in interface PageMethodspageId - the ID of the pageuserIds - user IDs you wish to block
FacebookException - when Facebook service or network is unavailable
public boolean unblock(java.lang.String userId)
throws FacebookException
PageMethods
unblock in interface PageMethodsuserId - the IDs of the user
FacebookException - when Facebook service or network is unavailable
public boolean unblock(java.lang.String pageId,
java.lang.String userId)
throws FacebookException
PageMethods
unblock in interface PageMethodspageId - the ID of the pageuserId - the IDs of the user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Offer> getOffers()
throws FacebookException
PageMethods
getOffers in interface PageMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Offer> getOffers(Reading reading)
throws FacebookException
PageMethods
getOffers in interface PageMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Offer> getOffers(java.lang.String pageId)
throws FacebookException
PageMethods
getOffers in interface PageMethodspageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Offer> getOffers(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getOffers in interface PageMethodspageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createOffer(OfferUpdate offerUpdate)
throws FacebookException
PageMethods
createOffer in interface PageMethodsofferUpdate - a createOffer to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String createOffer(java.lang.String pageId,
OfferUpdate offerUpdate)
throws FacebookException
PageMethods
createOffer in interface PageMethodspageId - the ID of the pageofferUpdate - a createOffer to be created
FacebookException - when Facebook service or network is unavailable
public boolean deleteOffer(java.lang.String offerId)
throws FacebookException
PageMethods
deleteOffer in interface PageMethodsofferId - the ID of the createOffer
FacebookException
public Offer getOffer(java.lang.String offerId)
throws FacebookException
PageMethods
getOffer in interface PageMethodsofferId - the ID of the offer
FacebookException - when Facebook service or network is unavailable
public Page getLikedPage(java.lang.String pageId)
throws FacebookException
PageMethods
getLikedPage in interface PageMethodspageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
public Page getLikedPage(java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getLikedPage in interface PageMethodspageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Page getLikedPage(java.lang.String userId,
java.lang.String pageId)
throws FacebookException
PageMethods
getLikedPage in interface PageMethodsuserId - the ID of a userpageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
public Page getLikedPage(java.lang.String userId,
java.lang.String pageId,
Reading reading)
throws FacebookException
PageMethods
getLikedPage in interface PageMethodsuserId - the ID of a userpageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.util.List<Permission> getPermissions()
throws FacebookException
PermissionMethods
getPermissions in interface PermissionMethodsFacebookException - when Facebook service or network is unavailable
public java.util.List<Permission> getPermissions(java.lang.String userId)
throws FacebookException
PermissionMethods
getPermissions in interface PermissionMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public boolean revokePermission(java.lang.String permissionName)
throws FacebookException
PermissionMethods
revokePermission in interface PermissionMethodspermissionName - permission name
FacebookException - when Facebook service or network is unavailable
public boolean revokePermission(java.lang.String userId,
java.lang.String permissionName)
throws FacebookException
PermissionMethods
revokePermission in interface PermissionMethodsuserId - the ID of a userpermissionName - permission name
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getPhotos()
throws FacebookException
PhotoMethods
getPhotos in interface PhotoMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getPhotos(Reading reading)
throws FacebookException
PhotoMethods
getPhotos in interface PhotoMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getPhotos(java.lang.String id)
throws FacebookException
PhotoMethods
getPhotos in interface PhotoMethodsid - the ID of a user/page/event
FacebookException - when Facebook service or network is unavailable
public ResponseList<Photo> getPhotos(java.lang.String id,
Reading reading)
throws FacebookException
PhotoMethods
getPhotos in interface PhotoMethodsid - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Photo getPhoto(java.lang.String photoId)
throws FacebookException
PhotoMethods
getPhoto in interface PhotoMethodsphotoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
public Photo getPhoto(java.lang.String photoId,
Reading reading)
throws FacebookException
PhotoMethods
getPhoto in interface PhotoMethodsphotoId - the ID of the photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getPhotoComments(java.lang.String photoId)
throws FacebookException
PhotoMethods
getPhotoComments in interface PhotoMethodsphotoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getPhotoComments(java.lang.String photoId,
Reading reading)
throws FacebookException
PhotoMethods
getPhotoComments in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentPhoto(java.lang.String photoId,
java.lang.String message)
throws FacebookException
PhotoMethods
commentPhoto in interface PhotoMethodsphotoId - the ID of the photomessage - comment text
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getPhotoLikes(java.lang.String photoId)
throws FacebookException
PhotoMethods
getPhotoLikes in interface PhotoMethodsphotoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getPhotoLikes(java.lang.String photoId,
Reading reading)
throws FacebookException
PhotoMethods
getPhotoLikes in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethods
likePhoto in interface PhotoMethodsphotoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
public boolean unlikePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethods
unlikePhoto in interface PhotoMethodsphotoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
public java.net.URL getPhotoURL(java.lang.String photoId)
throws FacebookException
PhotoMethods
getPhotoURL in interface PhotoMethodsphotoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId)
throws FacebookException
PhotoMethods
getTagsOnPhoto in interface PhotoMethodsphotoId - the ID of a photo
FacebookException - when Facebook service or network is unavailable
public ResponseList<Tag> getTagsOnPhoto(java.lang.String photoId,
Reading reading)
throws FacebookException
PhotoMethods
getTagsOnPhoto in interface PhotoMethodsphotoId - the ID of a photoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean addTagToPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
PhotoMethods
addTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserId - the ID of the user to tag
FacebookException - when Facebook service or network is unavailable
public boolean addTagToPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
PhotoMethods
addTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototagUpdate - tag information
FacebookException - when Facebook service or network is unavailable
public boolean addTagToPhoto(java.lang.String photoId,
java.util.List<java.lang.String> toUserIds)
throws FacebookException
PhotoMethods
addTagToPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserIds - the IDs of the users to tag
FacebookException - when Facebook service or network is unavailable
public boolean updateTagOnPhoto(java.lang.String photoId,
TagUpdate tagUpdate)
throws FacebookException
PhotoMethods
updateTagOnPhoto in interface PhotoMethodsphotoId - the ID of a phototagUpdate - tag information, supports 'to', 'x', 'y'
FacebookException - when Facebook service or network is unavailable
public boolean deleteTagOnPhoto(java.lang.String photoId,
java.lang.String toUserId)
throws FacebookException
PhotoMethods
deleteTagOnPhoto in interface PhotoMethodsphotoId - the ID of a phototoUserId - the ID of the user to tag
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPhoto(Media source)
throws FacebookException
PhotoMethods
postPhoto in interface PhotoMethodssource - photo content
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPhoto(PhotoUpdate photoUpdate)
throws FacebookException
PhotoMethods
postPhoto in interface PhotoMethodsphotoUpdate - the photo to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPhoto(java.lang.String userId,
Media source)
throws FacebookException
PhotoMethods
postPhoto in interface PhotoMethodsuserId - the ID of a usersource - photo content
FacebookException - when Facebook service or network is unavailable
public java.lang.String postPhoto(java.lang.String userId,
PhotoUpdate photoUpdate)
throws FacebookException
PhotoMethods
postPhoto in interface PhotoMethodsuserId - the ID of a userphotoUpdate - the photo to be created
FacebookException - when Facebook service or network is unavailable
public boolean deletePhoto(java.lang.String photoId)
throws FacebookException
PhotoMethods
deletePhoto in interface PhotoMethodsphotoId - the ID of the photo
FacebookException - when Facebook service or network is unavailable
public ResponseList<Poke> getPokes()
throws FacebookException
PokeMethods
getPokes in interface PokeMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Poke> getPokes(Reading reading)
throws FacebookException
PokeMethods
getPokes in interface PokeMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Poke> getPokes(java.lang.String userId)
throws FacebookException
PokeMethods
getPokes in interface PokeMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Poke> getPokes(java.lang.String userId,
Reading reading)
throws FacebookException
PokeMethods
getPokes in interface PokeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Question> getQuestions()
throws FacebookException
QuestionMethods
getQuestions in interface QuestionMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Question> getQuestions(Reading reading)
throws FacebookException
QuestionMethods
getQuestions in interface QuestionMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Question> getQuestions(java.lang.String id)
throws FacebookException
QuestionMethods
getQuestions in interface QuestionMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Question> getQuestions(java.lang.String id,
Reading reading)
throws FacebookException
QuestionMethods
getQuestions in interface QuestionMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public Question getQuestion(java.lang.String questionId)
throws FacebookException
QuestionMethods
getQuestion in interface QuestionMethodsquestionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
public Question getQuestion(java.lang.String questionId,
Reading reading)
throws FacebookException
QuestionMethods
getQuestion in interface QuestionMethodsquestionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String createQuestion(QuestionUpdate questionUpdate)
throws FacebookException
QuestionMethods
createQuestion in interface QuestionMethodsquestionUpdate - the question to be created
FacebookException - when Facebook service or network is unavailable
public java.lang.String createQuestion(java.lang.String id,
QuestionUpdate questionUpdate)
throws FacebookException
QuestionMethods
createQuestion in interface QuestionMethodsid - the ID of a pagequestionUpdate - the question to be created
FacebookException - when Facebook service or network is unavailable
public boolean deleteQuestion(java.lang.String questionId)
throws FacebookException
QuestionMethods
deleteQuestion in interface QuestionMethodsquestionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
public ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId)
throws FacebookException
QuestionMethods
getQuestionOptions in interface QuestionMethodsquestionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
public ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId,
Reading reading)
throws FacebookException
QuestionMethods
getQuestionOptions in interface QuestionMethodsquestionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String addQuestionOption(java.lang.String questionId,
java.lang.String optionDescription)
throws FacebookException
QuestionMethods
addQuestionOption in interface QuestionMethodsquestionId - the ID of the questionoptionDescription - description
FacebookException - when Facebook service or network is unavailable
public ResponseList<QuestionVotes> getQuestionOptionVotes(java.lang.String questionId)
throws FacebookException
QuestionMethods
getQuestionOptionVotes in interface QuestionMethodsquestionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
public ResponseList<Score> getScores()
throws FacebookException
GameMethods
getScores in interface GameMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Score> getScores(Reading reading)
throws FacebookException
GameMethods
getScores in interface GameMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Score> getScores(java.lang.String userId)
throws FacebookException
GameMethods
getScores in interface GameMethodsuserId - the ID of the user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Score> getScores(java.lang.String userId,
Reading reading)
throws FacebookException
GameMethods
getScores in interface GameMethodsuserId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean postScore(int scoreValue)
throws FacebookException
GameMethods
postScore in interface GameMethodsscoreValue - numeric score with value
FacebookException - when Facebook service or network is unavailable
public boolean postScore(java.lang.String userId,
int scoreValue)
throws FacebookException
GameMethods
postScore in interface GameMethodsuserId - the ID of a userscoreValue - numeric score with value
FacebookException - when Facebook service or network is unavailable
public boolean deleteScore()
throws FacebookException
GameMethods
deleteScore in interface GameMethodsFacebookException - when Facebook service or network is unavailable
public boolean deleteScore(java.lang.String userId)
throws FacebookException
GameMethods
deleteScore in interface GameMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscribedto> getSubscribedto()
throws FacebookException
SubscribeMethods
getSubscribedto in interface SubscribeMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Subscribedto> getSubscribedto(Reading reading)
throws FacebookException
SubscribeMethods
getSubscribedto in interface SubscribeMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscribedto> getSubscribedto(java.lang.String userId)
throws FacebookException
SubscribeMethods
getSubscribedto in interface SubscribeMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscribedto> getSubscribedto(java.lang.String userId,
Reading reading)
throws FacebookException
SubscribeMethods
getSubscribedto in interface SubscribeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscriber> getSubscribers()
throws FacebookException
SubscribeMethods
getSubscribers in interface SubscribeMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Subscriber> getSubscribers(Reading reading)
throws FacebookException
SubscribeMethods
getSubscribers in interface SubscribeMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscriber> getSubscribers(java.lang.String userId)
throws FacebookException
SubscribeMethods
getSubscribers in interface SubscribeMethodsuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
public ResponseList<Subscriber> getSubscribers(java.lang.String userId,
Reading reading)
throws FacebookException
SubscribeMethods
getSubscribers in interface SubscribeMethodsuserId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getVideos()
throws FacebookException
VideoMethods
getVideos in interface VideoMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getVideos(Reading reading)
throws FacebookException
VideoMethods
getVideos in interface VideoMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getVideos(java.lang.String id)
throws FacebookException
VideoMethods
getVideos in interface VideoMethodsid - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
public ResponseList<Video> getVideos(java.lang.String id,
Reading reading)
throws FacebookException
VideoMethods
getVideos in interface VideoMethodsid - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String postVideo(VideoUpdate videoUpdate)
throws FacebookException
VideoMethods
postVideo in interface VideoMethodsvideoUpdate - video content
FacebookException - when Facebook service or network is unavailable
public java.lang.String postVideo(java.lang.String id,
VideoUpdate videoUpdate)
throws FacebookException
VideoMethods
postVideo in interface VideoMethodsid - the ID of a uservideoUpdate - video content
FacebookException - when Facebook service or network is unavailable
public Video getVideo(java.lang.String videoId)
throws FacebookException
VideoMethods
getVideo in interface VideoMethodsvideoId - the ID of the video
FacebookException - when Facebook service or network is unavailable
public Video getVideo(java.lang.String videoId,
Reading reading)
throws FacebookException
VideoMethods
getVideo in interface VideoMethodsvideoId - the ID of the videoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getVideoLikes(java.lang.String videoId)
throws FacebookException
VideoMethods
getVideoLikes in interface VideoMethodsvideoId - the ID of a video
FacebookException - when Facebook service or network is unavailable
public ResponseList<Like> getVideoLikes(java.lang.String videoId,
Reading reading)
throws FacebookException
VideoMethods
getVideoLikes in interface VideoMethodsvideoId - the ID of a videoreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public boolean likeVideo(java.lang.String videoId)
throws FacebookException
VideoMethods
likeVideo in interface VideoMethodsvideoId - the ID of the video
FacebookException - when Facebook service or network is unavailable
public boolean unlikeVideo(java.lang.String videoId)
throws FacebookException
VideoMethods
unlikeVideo in interface VideoMethodsvideoId - the ID of the video
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getVideoComments(java.lang.String videoId)
throws FacebookException
VideoMethods
getVideoComments in interface VideoMethodsvideoId - the ID of a video
FacebookException - when Facebook service or network is unavailable
public ResponseList<Comment> getVideoComments(java.lang.String videoId,
Reading reading)
throws FacebookException
VideoMethods
getVideoComments in interface VideoMethodsvideoId - the ID of a videoreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public java.lang.String commentVideo(java.lang.String videoId,
java.lang.String message)
throws FacebookException
VideoMethods
commentVideo in interface VideoMethodsvideoId - the ID of the videomessage - comment text
FacebookException - when Facebook service or network is unavailable
public java.net.URL getVideoCover(java.lang.String videoId)
throws FacebookException
VideoMethods
getVideoCover in interface VideoMethodsvideoId - the ID of a video
FacebookException - when Facebook service or network is unavailable
public ResponseList<Insight> getInsights(java.lang.String objectId,
java.lang.String metric)
throws FacebookException
getInsights in interface InsightMethodsFacebookException
public ResponseList<Insight> getInsights(java.lang.String objectId,
java.lang.String metric,
Reading reading)
throws FacebookException
getInsights in interface InsightMethodsFacebookException
public ResponseList<Post> searchPosts(java.lang.String query)
throws FacebookException
SearchMethods
searchPosts in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<Post> searchPosts(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchPosts in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<User> searchUsers(java.lang.String query)
throws FacebookException
SearchMethods
searchUsers in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<User> searchUsers(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchUsers in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Event> searchEvents(java.lang.String query)
throws FacebookException
SearchMethods
searchEvents in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<Event> searchEvents(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchEvents in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Group> searchGroups(java.lang.String query)
throws FacebookException
SearchMethods
searchGroups in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<Group> searchGroups(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchGroups in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Place> searchPlaces(java.lang.String query)
throws FacebookException
SearchMethods
searchPlaces in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<Place> searchPlaces(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchPlaces in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Place> searchPlaces(java.lang.String query,
GeoLocation center,
int distance)
throws FacebookException
SearchMethods
searchPlaces in interface SearchMethodsquery - the search conditioncenter - latitude and longitudedistance - distance
FacebookException - when Facebook service or network is unavailable
public ResponseList<Place> searchPlaces(java.lang.String query,
GeoLocation center,
int distance,
Reading reading)
throws FacebookException
SearchMethods
searchPlaces in interface SearchMethodsquery - the search conditioncenter - latitude and longitudedistance - distancereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> searchCheckins()
throws FacebookException
SearchMethods
searchCheckins in interface SearchMethodsFacebookException - when Facebook service or network is unavailable
public ResponseList<Checkin> searchCheckins(Reading reading)
throws FacebookException
SearchMethods
searchCheckins in interface SearchMethodsreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> searchLocations(GeoLocation center,
int distance)
throws FacebookException
SearchMethods
searchLocations in interface SearchMethodscenter - latitude and longitudedistance - distance
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> searchLocations(GeoLocation center,
int distance,
Reading reading)
throws FacebookException
SearchMethods
searchLocations in interface SearchMethodscenter - latitude and longitudedistance - distancereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> searchLocations(java.lang.String placeId)
throws FacebookException
SearchMethods
searchLocations in interface SearchMethodsplaceId - specify the ID of the place
FacebookException - when Facebook service or network is unavailable
public ResponseList<Location> searchLocations(java.lang.String placeId,
Reading reading)
throws FacebookException
SearchMethods
searchLocations in interface SearchMethodsplaceId - specify the ID of the placereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<JSONObject> search(java.lang.String query)
throws FacebookException
SearchMethods
search in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<JSONObject> search(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
search in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public ResponseList<Page> searchPages(java.lang.String query)
throws FacebookException
SearchMethods
searchPages in interface SearchMethodsquery - the search condition
FacebookException - when Facebook service or network is unavailable
public ResponseList<Page> searchPages(java.lang.String query,
Reading reading)
throws FacebookException
SearchMethods
searchPages in interface SearchMethodsquery - the search conditionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
public JSONArray executeFQL(java.lang.String query)
throws FacebookException
FQLMethods
executeFQL in interface FQLMethodsquery - FQL query
FacebookException - when Facebook service or network is unavailable
public JSONArray executeFQL(java.lang.String query,
java.util.Locale locale)
throws FacebookException
FQLMethods
executeFQL in interface FQLMethodsquery - FQL querylocale - Locale
FacebookException - when Facebook service or network is unavailable
public java.util.Map<java.lang.String,JSONArray> executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries)
throws FacebookException
FQLMethods
executeMultiFQL in interface FQLMethodsqueries - FQL queries
FacebookException - when Facebook service or network is unavailable
public java.util.Map<java.lang.String,JSONArray> executeMultiFQL(java.util.Map<java.lang.String,java.lang.String> queries,
java.util.Locale locale)
throws FacebookException
FQLMethods
executeMultiFQL in interface FQLMethodsqueries - FQL querieslocale - Locale
FacebookException - 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
TestUserMethods
createTestUser in interface TestUserMethodsappId - the ID of the app
FacebookException - when Facebook service or network is unavailable
public TestUser createTestUser(java.lang.String appId,
java.lang.String name,
java.lang.String locale,
java.lang.String permissions)
throws FacebookException
TestUserMethods
createTestUser in interface TestUserMethodsappId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissions
FacebookException - when Facebook service or network is unavailable
public java.util.List<TestUser> getTestUsers(java.lang.String appId)
throws FacebookException
TestUserMethods
getTestUsers in interface TestUserMethodsappId - the ID of the app
FacebookException - when Facebook service or network is unavailable
public boolean deleteTestUser(java.lang.String testUserId)
throws FacebookException
TestUserMethods
deleteTestUser in interface TestUserMethodstestUserId - the ID of the test user
FacebookException - when Facebook service or network is unavailable
public boolean makeFriendTestUser(TestUser testUser1,
TestUser testUser2)
throws FacebookException
TestUserMethods
makeFriendTestUser in interface TestUserMethodstestUser1 - test usertestUser2 - test user
FacebookException - when Facebook service or network is unavailable
public <T> ResponseList<T> fetchNext(Paging<T> paging)
throws FacebookException
FacebookBase
fetchNext in interface FacebookBasepaging - paging information of Graph API result
FacebookException - when Facebook service or network is unavailable
public <T> ResponseList<T> fetchPrevious(Paging<T> paging)
throws FacebookException
FacebookBase
fetchPrevious in interface FacebookBasepaging - paging information of Graph API result
FacebookException - when Facebook service or network is unavailable
private <T> ResponseList<T> fetchPaging(java.net.URL url,
java.lang.Class<T> jsonObjectType)
throws FacebookException
FacebookException
private ResponseList<Comment> _getComments(java.lang.String objectId,
Reading reading)
throws FacebookException
FacebookException
private ResponseList<Like> _getLikes(java.lang.String objectId,
Reading reading)
throws FacebookException
FacebookException
private java.net.URL _getPictureURL(java.lang.String objectId,
PictureSize size)
throws FacebookException
FacebookException
private java.net.URL _getSSLPictureURL(java.lang.String objectId,
PictureSize size)
throws FacebookException
FacebookException
private java.lang.String _comment(java.lang.String objectId,
java.lang.String message)
throws FacebookException
FacebookException
private boolean _like(java.lang.String objectId)
throws FacebookException
FacebookException
private boolean _unlike(java.lang.String objectId)
throws FacebookException
FacebookException
private java.lang.String _postLink(java.lang.String objectId,
java.net.URL link,
java.lang.String message)
throws FacebookException
FacebookException
private java.lang.String _postStatusMessage(java.lang.String objectId,
java.lang.String message)
throws FacebookException
FacebookException
private HttpResponse get(java.lang.String url)
throws FacebookException
FacebookException
private HttpResponse get(java.lang.String url,
HttpParameter[] parameters)
throws FacebookException
FacebookException
private HttpResponse getRaw(java.lang.String url)
throws FacebookException
FacebookException
private HttpResponse post(java.lang.String url)
throws FacebookException
FacebookException
private HttpResponse post(java.lang.String url,
HttpParameter[] parameters)
throws FacebookException
FacebookException
private HttpResponse delete(java.lang.String url)
throws FacebookException
FacebookException
private HttpResponse delete(java.lang.String url,
HttpParameter[] parameters)
throws FacebookException
FacebookExceptionprivate boolean isOk(HttpResponse response)
private boolean containsAccessToken(HttpParameter[] parameters)
throws FacebookException
FacebookException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||