Skip to content

minhle20001998/bot-fb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

messenger-bot-nodejs

How to run this project ?

You can set up this project by following these steps below or an easier way, I created a video to set up this project ( Watch my video: https://www.youtube.com/watch?v=h-JqLlNTfrc )

1. Clone this project

  • Copy file .env.example -> create a .env file at the root folder -> fill all app variables in the .evn file
  • Run the "npm install" to test project at the localhost

2. Create a Heroku app, a Facebook Page, a Facebook App.

2.1 Create a Heroku app

  • Deploy app to Heroku ( need to setup dev dependencies: heroku config:set NPM_CONFIG_PRODUCTION=false )
  • Config env variables (setup dev dependencies)

2.2 Facebook Page

  • Create a Facebook Page
  • Config Whitelisted Domains (add the Heroku app domain)

2.3 Facebook App

  • Create a Facebook App
  • Config webhook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published