Skip to content

adtm/language-messenger-bot

Repository files navigation

A proof of concept of a Messenger Chatbot teaching new languages to users. The user is specified to choose a language and a scenario he will have to walk through. The chatbot can learn the user's behavior with AI.

Local development

  • Download ngrok: https://ngrok.com/ or brew

  • Set up environment variables:

  • Run npm start / npm run dev and on an other terminal: ngrok http 1337 (port)

  • Now paste this link to the Messenger Development platform

To add a "Get Started" button

curl -X POST -H "Content-Type: application/json" -d '{
  "setting_type": "call_to_actions",
  "thread_state": "new_thread",
  "call_to_actions": [
    {
      "payload": "Start"
    }
  ]
}' "https://graph.facebook.com/v2.6/me/thread_settings?access_token=<PAGE ACCESS TOKEN>"

About

Language learning Messenger ChatBot 👨‍🏫

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •