/marshalf1bot

Formula 1 Facebook Messenger Bot – Calendar, Results and Standings

Primary LanguageJavaScriptMIT LicenseMIT

Marshal F1 Bot

Formula 1 Facebook Messenger Bot – Calendar, Results and Standings

Introduction

Messenger Platform Sample was used as bootstrap. Ergast Developer API is the source of data.

Demo

Start interacting clicking here. Qualifying and race information is updated by restarting the bot on Saturdays and Sundays.

Motivation

This is not a conversational bot, so it doesn't really understand text messages. Instead, the idea here is to explore UI elements offered but the Messenger Platform. Specifically, the following elements are used:

Running

Node 6.2.2 is required. The following environment variables must be set:

  • MESSENGER_APP_SECRET
  • MESSENGER_VALIDATION_TOKEN
  • MESSENGER_PAGE_ACCESS_TOKEN
  • MESSENGER_PAGE_ID
  • PORT