This is a demo of Messenger Platform bot that you can use to start up your project or just check how bots work
Do you recognize this movie? It's War Games from 1983.
WOPR is a supercomputer running artificial intelligence program that simulates Global Thermonuclear War.
It communicates with humans using text. Thus it's perfect to demonstrate the Messenger Platform capabilities.
- Create facebook page to act as your bot. Direct link
- Goto Messenger Platform Getting Started Guide. Configure facebook app and generate tokens as instructed there.
- Create secret.js file based on secret-template.js. Put there your tokens.
- Deploy to your server, run
npm install
and run the app. - Verify your app (step 2 of Getting Started Guide)
- Now open the facebook page you've created and send a message to it. The bot should start talking to you.
If you have any questions feel free to contact me: https://github.com/mateuszo