Skip to content

bilalkabat/conversation-messages-inbound-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conversation-messages-inbound-example

This application allows you to receive inbound messages from Facebook users to your Facebook Page and persists the events in a conversation named my_conversation.

Capabilities

Adds Messages capability to your nexmo application and configures the Inbound URL and Status URL webhooks (messagesInbound and messagesStatus in index.js).

Linking a Facebook page

Currently the conversation-api-function cli tool doesn't support linking a facebook page to your nexmo applications, so this step has to be done manually via the vonage dashboard.

To link a FB page to your application:

To run the server

Pre-requisite: node version >= 14 nvm use 14

npm start | bunyan

Endpoints

The application exposes two endpoints:

  • GET /conversations: Lists all the conversations associated with your nexmo application
  • GET /conversationEvents: Lists all the events of the conversation name my_conversation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published