theme
FacebookGraphAPI
FREE
By serg.osipchuk
Updated a year ago

FacebookGraphAPI API Documentation

Retrieve Facebook data and automate actions (ex. posting).

Learn more about this API
POSTaddComment
POSTaddFeedPost
POSTaddLike
POSTaddPhotoToAlbum
POSTcreateAlbum
POSTdeleteComment
POSTdeleteFeedPost
POSTdeleteLike
POSTextendUserToken
POSTgetAlbum
POSTgetAlbumPhotos
POSTgetComments
POSTgetCurrentProfile
POSTgetLikes
POSTgetPhoto
POSTgetProfile
POSTgetProfilePicture
POSTgetUserAlbums
POSTgetUsersFeed
POSTgetUsersFriends
POSTgetUsersLikedPages
POSTupdateComment
POSTvalidateUserToken
POSTaddFeedPost

Add post to user feed.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
access_tokenSTRING
REQUIREDAccess token obtained from Facebook.
Optional Parameters
privacySTRING
OPTIONALDetermines the privacy settings of the post. If not supplied, this defaults to the privacy level granted to the app in the Login Dialog. This field cannot be used to set a more open privacy setting than the one granted.
messageSTRING
OPTIONALThe main body of the post, otherwise called the status message. Either link, place, or message must be supplied.
placeSTRING
OPTIONALPage ID of a location associated with this post. Either link, place, or message must be supplied..
linkSTRING
OPTIONALThe URL of a link to attach to the post. Either link, place, or message must be supplied. Additional fields associated with link are shown below.
object_attachmentSTRING
OPTIONALFacebook ID for an existing picture in the person's photo albums to use as the thumbnail image. They must be the owner of the photo, and the photo cannot be part of a message attachment.
tagsSTRING
OPTIONALComma-separated list of user IDs of people tagged in this post. You cannot specify this field without also specifying a place.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication