API Support matrix
Account
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/accounts (see: Connections - accounts) | getAccounts() |
* You can narrow API methods down to these via Facebook#accounts().
Activity
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/activities (see: Connections - activities) | getActivities() |
* You can narrow API methods down to these via Facebook#activities().
Album
Endpoint | Facebook4J Method | |
---|---|---|
GET | /ALBUM_ID | getAlbum() |
GET | /ALBUM_ID/photos (see: Connections - photos) | getAlbumPhotos() |
POST | /ALBUM_ID/photos | addAlbumPhoto() |
GET | /ALBUM_ID/likes (see: Connections - likes) | getAlbumLikes() |
POST | /ALBUM_ID/likes | likeAlbum() |
DELETE | /ALBUM_ID/likes | unlikeAlbum() |
GET | /ALBUM_ID/comments (see: Connections - comments) | getAlbumComments() |
POST | /ALBUM_ID/comments | commentAlbum() |
GET | /ALBUM_ID/picture (see: Connections - picture) | getAlbumCoverPhoto() |
GET | /USER_ID/albums (see: Connections - albums) | getAlbums() |
GET | /PAGE_ID/albums (see: Connections - albums) | getAlbums() |
POST | /USER_ID/albums | createAlbum() |
GET | /ALBUM_ID/reactions | getAlbumReactions() |
* You can narrow API methods down to these via Facebook#albums().
Checkin
Endpoint | Facebook4J Method | |
---|---|---|
GET | /CHECKIN_ID | getCheckin() |
GET | /CHECKIN_ID/comments (see: Connections - comments) | getCheckinComments() |
POST | /CHECKIN_ID/comments | commentCheckin() |
GET | /CHECKIN_ID/likes (see: Connections - likes) | getCheckinLikes() |
POST | /CHECKIN_ID/likes | likeCheckin() |
DELETE | /CHECKIN_ID/likes | unlikeCheckin |
GET | /USER_ID/checkins (see: Connections - checkins) | getCheckins() |
GET | /PAGE_ID/checkins (see: Connections - checkins) | getCheckins() |
POST | /USER_ID/checkins | checkin() |
* You can narrow API methods down to these via Facebook#checkins().
Comment
Endpoint | Facebook4J Method | |
---|---|---|
GET | /COMMENT_ID | getComment() |
GET | /COMMENT_ID/comments | getCommentReplies() |
DELETE | /COMMENT_ID | deleteComment() |
GET | /COMMENT_ID/likes (see: Connections - likes) | getCommentLikes() |
POST | /COMMENT_ID/likes | likeComment() |
DELETE | /COMMENT_ID/likes | unlikeComment() |
* You can narrow API methods down to these via Facebook#comments().
Domain
Endpoint | Facebook4J Method | |
---|---|---|
GET | /DOMAIN_ID | getDomain() |
GET | ?domain=DOMAIN_NAME | getDomainByName() |
GET | ?domains=DOMAIN_NAME1,... | getDomainsByName() |
* You can narrow API methods down to these via Facebook#domains().
Event
* You can narrow API methods down to these via Facebook#events().
Family
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/family (see: Connections - family) | getFamily() |
* You can narrow API methods down to these via Facebook#family().
Favorite
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/books (see: Connections - books) | getBooks() |
GET | /USER_ID/games (see: Connections - games) | getGames() |
GET | /USER_ID/movies (see: Connections - movies) | getMovies() |
GET | /USER_ID/music (see: Connections - music) | getMusic() |
GET | /USER_ID/television (see: Connections - television) | getTelevision() |
GET | /USER_ID/interests (see: Connections - interests) | getInterests() |
* You can narrow API methods down to these via Facebook#favorites().
Friend
Endpoint | Facebook4J Method | |
---|---|---|
GET | /FRIENDLIST_ID | getFriendlist() |
DELETE | /FRIENDLIST_ID | deleteFriendlist() |
GET | /FRIENDLIST_ID/members (see: Connections - members) | getFriendlistMembers() |
POST | /FRIENDLIST_ID/members | addFriendlistMember() |
DELETE | /FRIENDLIST_ID/members | removeFriendlistMember() |
GET | /USER_ID/friendlists (see: Connections - friendlists) | getFriendlists() |
POST | /USER_ID/friendlists | createFriendlist() |
GET | /USER_ID/friendrequests | getFriendRequests() |
GET | /USER_ID/friends | getFriends() |
GET | /USER_ID/friends/FRIEND_ID | getBelongsFriend() |
GET | /USER_ID/mutualfriends/FRIEND_ID | getMutualFriends() |
GET | /USER_ID/taggable_friends | getTaggableFriends() |
* You can narrow API methods down to these via Facebook#friends().
Game
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/achievements | getAchievements() |
POST | /USER_ID/achievements | postAchievement() |
DELETE | /USER_ID/achievements | deleteAchievement() |
GET | /USER_ID/scores | getScores() |
POST | /USER_ID/scores | postScore() |
DELETE | /USER_ID/scores | deleteScore() |
* You can narrow API methods down to these via Facebook#games().
Group
Endpoint | Facebook4J Method | |
---|---|---|
GET | /GROUP_ID | getGroup() |
GET | /GROUP_ID/feed (see: Connections - feed) | getGroupFeed() |
POST | /GROUP_ID/feed | postGroupLink() |
POST | /GROUP_ID/feed | postGroupFeed() |
POST | /GROUP_ID/feed | postGroupStatusMessage() |
GET | /GROUP_ID/members | getGroupMembers() |
GET | /GROUP_ID/picture (see: Connections - picture) | getGroupPictureURL() |
GET | /GROUP_ID/docs (see: Connections - docs) | getGroupDocs() |
GET | /USER_ID/groups (see: Connections - groups) | getGroups() |
* You can narrow API methods down to these via Facebook#groups().
Insight
Endpoint | Facebook4J Method | |
---|---|---|
GET | /OBJECT_ID/insights/METRIC | getInsights() |
* You can narrow API methods down to these via Facebook#insights().
Like
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/likes | getUserLikes() |
* You can narrow API methods down to these via Facebook#likes().
Link
Endpoint | Facebook4J Method | |
---|---|---|
GET | /LINK_ID | getLink() |
GET | /LINK_ID/comments (see: Connections - comments) | getLinkComments() |
POST | /LINK_ID/comments | commentLink() |
GET | /LINK_ID/likes (see: Connections - likes) | getLinkLikes() |
POST | /LINK_ID/likes | likeLink() |
DELETE | /LINK_ID/likes | unlikeLink() |
GET | /USER_ID/links (see: Connections - links) | getLinks() |
GET | /PAGE_ID/links (see: Connections - links) | getLinks() |
GET | /EVENT_ID/links | getLinks() |
* You can narrow API methods down to these via Facebook#links().
Location
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/locations (see: Connections - locations) | getLocations() |
GET | /USER_ID/tagged_places | getTaggedPlaces() |
* You can narrow API methods down to these via Facebook#locations().
Message
Endpoint | Facebook4J Method | |
---|---|---|
GET | /MESSAGE_ID | getMessage() |
GET | /USER_ID/inbox (see: Connections - inbox) | getInbox() |
GET | /USER_ID/outbox (see: Connections - outbox) | getOutbox() |
GET | /USER_ID/updates (see: Connections - updates) | getUpdates() |
* You can narrow API methods down to these via Facebook#messages().
Conversation
Endpoint | Facebook4J Method | |
---|---|---|
GET | /PAGE_ID/conversations | getConversations() |
GET | /CONVERSATION_ID | getConversation() |
GET | /CONVERSATION_ID/messages | answerConversation() |
* You can narrow API methods down to these via Facebook#conversations().
Note
Endpoint | Facebook4J Method | |
---|---|---|
GET | /NOTE_ID | getNote() |
GET | /NOTE_ID/comments (see: Connections - comments) | getNoteComments() |
POST | /NOTE_ID/comments | commentNote() |
GET | /NOTE_ID/likes (see: Connections - likes) | getNoteLikes() |
POST | /NOTE_ID/likes | likeNote() |
DELETE | /NOTE_ID/likes | unlikeNote() |
GET | /USER_ID/notes (see: Connections - notes) | getNotes() |
GET | /PAGE_ID/notes (see: Connections - notes) | getNotes() |
POST | /USER_ID/notes | createNote() |
POST | /PAGE_ID/notes | createNote() |
* You can narrow API methods down to these via Facebook#notes().
Notification
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/notifications (see: 'Reading and Managing Notifications' section) | getNotifications() |
POST | /NOTIFICATION_ID (see: 'Reading and Managing Notifications' section) | markNotificationAsRead() |
* You can narrow API methods down to these via Facebook#notifications().
Permission
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/permissions | getPermissions() |
DELETE | /USER_ID/permissions/PERMISSION_NAME | deletePermission() |
DELETE | /USER_ID/permissions | deleteAllPermissions() |
* You can narrow API methods down to these via Facebook#permissions().
Page
* You can narrow API methods down to these via Facebook#pages().
Photo
Endpoint | Facebook4J Method | |
---|---|---|
GET | /PHOTO_ID | getPhoto() |
DELETE | /PHOTO_ID | deletePhoto() |
GET | /PHOTO_ID/comments (see: Connections - comments) | getPhotoComments() |
POST | /PHOTO_ID/comments | commentPhoto() |
GET | /PHOTO_ID/likes (see: Connections - likes) | getPhotoLikes() |
POST | /PHOTO_ID/likes | likePhoto() |
DELETE | /PHOTO_ID/likes | unlikePhoto() |
GET | /PHOTO_ID/picture (see: Connections - picture) | getPhotoURL() |
GET | /PHOTO_ID/tags (see: Connections - tags) | getTagsOnPhoto() |
POST | /PHOTO_ID/tags | addTagToPhoto() |
DELETE | /PHOTO_ID/tags | deleteTagOnPhoto() |
GET | /USER_ID/photos (see: Connections - photos) | getPhotos() |
POST | /USER_ID/photos | postPhoto() |
GET | /USER_ID/photos/uploaded (see: Connections - photos/uploaded) | getUploadedPhotos() |
GET | /PHOTO_ID/reactions | getPhotoReactions() |
GET | /PHOTO_ID/sharedposts | getPhotoSharedposts() |
* You can narrow API methods down to these via Facebook#photos().
Poke
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/pokes (see: Connections - pokes) | getPokes() |
* You can narrow API methods down to these via Facebook#pokes().
Post
* You can narrow API methods down to these via Facebook#posts().
Question
Endpoint | Facebook4J Method | |
---|---|---|
GET | /QUESTION_ID | getQuestion() |
DELETE | /QUESTION_ID | deleteQuestion() |
GET | /QUESTION_ID/options | getQuestionOptions() |
POST | /QUESTION_ID/options | addQuestionOption() |
GET | /QUESTION_ID/options?fields=votes (see: Connections - votes) | getQuestionOptionVotes() |
GET | /USER_ID/questions | getQuestions() |
GET | /PAGE_ID/questions | getQuestions() |
POST | /PAGE_ID/questions | createQuestion() |
* You can narrow API methods down to these via Facebook#questions().
Subscribe
Endpoint | Facebook4J Method | |
---|---|---|
GET | /USER_ID/subscribedto (see: Connections - subscribedto) | getSubscribedto() |
GET | /USER_ID/subscribers (see: Connections - subscribers) | getSubscribers() |
* You can narrow API methods down to these via Facebook#subscribes().
User
Endpoint | Facebook4J Method | |
---|---|---|
GET | /me | getMe() |
GET | /USER_ID | getUser() |
GET | /USER_ID/picture (see: Connections - picture) | getPictureURL() |
GET | /USER_ID/picture | getSSLPictureURL() |
GET | ?ids=name1,name2... | getUsers() |
* You can narrow API methods down to these via Facebook#users().
Video
Endpoint | Facebook4J Method | |
---|---|---|
GET | /VIDEO_ID | getVideo() |
GET | /VIDEO_ID/likes (see: Connections - likes) | getVideoLikes() |
POST | /VIDEO_ID/likes | likeVideo() |
DELETE | /VIDEO_ID/likes | unlikeVideo() |
GET | /VIDEO_ID/comments (see: Connections - comments) | getVideoComments() |
POST | /VIDEO_ID/comments | commentVideo() |
GET | /VIDEO_ID/picture (see: Connections - picture) | getVideoCover() |
GET | /USER_ID/videos (see: Connections - videos) | getVideos() |
GET | /PAGE_ID/videos (see: Connections - videos) | getVideos() |
POST | /USER_ID/videos | postVideo() |
POST | /PAGE_ID/videos | postVideo() |
GET | /VIDEO_ID/reactions | getPostReactions() |
GET | /VIDEO_ID/sharedposts | getVideoSharedposts() |
* You can narrow API methods down to these via Facebook#videos().
TestUser
Endpoint | Facebook4J Method | |
---|---|---|
POST | /APP_ID/accounts/test-users?... (see: Creating section) | createTestUser() |
GET | /APP_ID/accounts/test-users (see: Accessing section) | getTestUsers() |
DELETE | /TEST_USER_ID (see: Deleting section) | deleteTestUser() |
* You can narrow API methods down to these via Facebook#testUsers().
FQL
Endpoint | Facebook4J Method | |
---|---|---|
GET | /fql?q=FQL | executeFQL() |
GET | /fql?q={FQL_NAME1:FQL1,...} | executeMultiFQL() |
* You can narrow API methods down to these via Facebook#fql().
Search
* You can narrow API methods down to these via Facebook#search().
Batch
Endpoint | Facebook4J Method | |
---|---|---|
POST | ?batch=[{...}] | executeBatch() |