REST API
From Facebook Developer Wiki (FbDevWiki.com)
The REST API is the original API for developing on the Facebook Platform. Over a year ago Facebook decided to go in a new direction and launched their new Graph API.
It's best to avoid using these methods if there's an equivalent method in the Graph API as Facebook has clearly indicated that they're moving away from these methods.
We'll try to include examples to show how to replace these REST method calls with Graph API calls where applicable.
Contents |
Administrative Methods
- admin.banUsers
- admin.getAllocation
- admin.getAppProperties
- admin.getBannedUsers
- admin.getRestrictionInfo
- admin.setAppProperties
- admin.setRestrictionInfo
- admin.unbanUsers
- ads.getAdreportSchedules
- application.getPublicInfo
- batch.run
- data.setCookie
- intl.getTranslations
- intl.uploadNativeStrings
- links.getStats
- migrations.getStatuses
- migrations.setStatus
- pages.blockFan
Login/Auth Methods
- auth.createToken
- auth.expireSession
- auth.getSession
- auth.promoteSession
- auth.revokeAuthorization
- auth.revokeExtendedPermission
Data Retrieval Methods
- comments.get
- data.getCookies
- fql.multiquery
- fql.query
- friends.areFriends
- friends.get
- friends.getAppUsers
- friends.getLists
- friends.getMutualFriends
- groups.get
- groups.getMembers
- links.get
- message.getThreadsInFolder
- notes.get
- notifications.get
- notifications.getList
- pages.getinfo
- pages.isAdmin
- pages.isAppAdded
- pages.isFan
- photos.get
- photos.getAlbums
- photos.getTags
- privacy.get
profile.getFBMLprofile.getInfoprofile.getInfoOptions- status.get
- stream.get
- stream.getComments
- stream.getFilters
- users.getInfo
- users.getLoggedInUser
- users.getStandardinfo
- users.hasAppPermission
- users.isAppUser
- users.isVerified
- video.getUploadLimits
Publishing Methods
- comments.add
- comments.remove
- links.post
- links.preview
- liveMessage.send
- notes.create
- notes.delete
- notes.edit
- notifications.markRead
- notifications.sendEmail
- photos.addTag
- photos.createAlbum
- photos.upload
profile.setFBMLprofile.setInfoprofile.setInfoOptions- status.set
- stream.addComment
- stream.addLike
- stream.publish
- stream.remove
- stream.removeComment
- stream.removeLike
- users.setStatus
- video.upload
Facebook Connect Methods
Dashboard API Methods
Most of these methods will likely be removed once the Requests 2.0 have been fully implemented.
- dashboard.addGlobalNews
- dashboard.addNews
- dashboard.clearGlobalNews
- dashboard.clearNews
- dashboard.decrementCount
- dashboard.getActivity
- dashboard.getCount
- dashboard.getGlobalNews
- dashboard.getNews
- dashboard.incrementCount
- dashboard.multiAddNews
- dashboard.multiClearNews
- dashboard.multiDecrementCount
- dashboard.multiGetCount
- dashboard.multiGetNews
- dashboard.multiIncrementCount
- dashboard.multiSetCount
- dashboard.publishActivity
- dashboard.removeActivity
- dashboard.setCount
Events API Methods
Ads Methods
The Ads API has been moved to the Graph API
ads.addAccountUsersads.createAdGroupsads.createAdreportSchedulesads.createCampaignsads.createCreativesads.estimateTargetingStatsads.getAccountsads.getAdGroupCreativesads.getAdGroupStatsads.getAdGroupTargetingads.getAdGroupsads.getAdreportJobsads.getAutoCompleteDataads.getCampaignStatsads.getCampaignsads.getConnectionObjectIdsads.getKeywordAutocompleteads.getKeywordSuggestionsads.getValidKeywordsads.removeAccountUsersads.setAccountUsersRoleads.updateAdGroupsads.updateAdreportSchedulesads.updateCampaigns