Skip to content

A quiz bot running on the Facebook Messenger API.

Notifications You must be signed in to change notification settings

MadsZeneli/quiz-bot

Repository files navigation

Quiz bot

Get up and running with the Facebook Messenger API in a minute... or 15. Well that's god damn quick anyway.


1. Get started

Once you've cloned project, then 'cd' into the directory and type:

$ npm install

Deploy the app to Heroku - or similar - in order to run the NodeJS-server: https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up


2. Setup the Facebook App

2.1. Create the app

GitHub Logo

2.2. Get a Page Access Token

  • Store the token as FB_TOKEN in index.js.

GitHub Logo

2.3. Setup Webooks

GitHub Logo

2.4. Bind webhooks to your app

  • Define your callback URL.
  • Store the token as FB_VERIFY in index.js.

GitHub Logo

2.5. Subscribe

GitHub Logo

2.6. Get your App Secret

  • Store the App Secret as FB_APP_SECRET in index.js.

GitHub Logo

About

A quiz bot running on the Facebook Messenger API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published