RapidAPI logo

Sign Up

Log In

FacebookMessenger

FREE
By dimashirokov
Updated 3 months ago
Social
6.5/10
Popularity Score
340ms
Latency
-
Success Rate

FacebookMessenger API Documentation

Send and recive messages using Facebook Messenger API.

View API Details
POSTdeleteGetStartedButton
POSTdeleteGreetingText
POSTdeletePersistentMenu
POSTgetUserProfile
POSTsendAccountLinkButton
POSTsendAccountUnlinkButton
POSTsendAction
POSTsendAirlineBoardingPassTemplate
POSTsendAirlineCheckinTemplate
POSTsendAirlineFlightUpdateTemplate
POSTsendAirlineItineraryTemplate
POSTsendButtonTemplate
POSTsendCallButton
POSTsendGenericTemplate
POSTsendImage
POSTsendPostbackButton
POSTsendQuickReplyButton
POSTsendReceiptTemplate
POSTsendShareButton
POSTsendShareLocationReplyButton
POSTsendTextMessage
POSTsendUrlWebButton
POSTsetGetStartedButton
POSTsetGreetingText
POSTsetPersistentMenu
POSTsetWhitelist
POSTsubscribeAppToPage
POSTvalidateWebhook
POSTwebhook
POSTdeleteGetStartedButton

Delete the Get Started button.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
pageAccessTokenCREDENTIALS
REQUIREDPage Access Token obtained from developer.facebook.com
Request Snippet
unirest.post("https://FacebookMessengerdimashirokovV1.p.rapidapi.com/deleteGetStartedButton")
.header("X-RapidAPI-Host", "FacebookMessengerdimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://FacebookMessengerdimashirokovV1.p.rapidapi.com/deleteGetStartedButton")
.header("X-RapidAPI-Host", "FacebookMessengerdimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication