Facebook reminder bot
Powered by DialogFlow AI
Import reminder.zip
in dialog flow and setup fulfillment in https://console.dialogflow.com/api-client
Setup docker
if you want to run tests
create database and creds
minimal config.json
content:
{
"server_address": ":3000",
"snooze_period": "5m",
"pg_user": "********",
"pg_passwd": "******",
"pg_db": "***888***",
"pg_address": "host:port",
"x_key": "<some_secret_header>",
"fb_token":"EAAgcpoks048BAB.................",
"project_id": "rem.....",
"private_key": "-----BEGIN PRIVATE KEY-----\nMI..................",
"client_email": "email............",
}
make all
- for mods, tests, build
or
just make build
Run ./reminder
app
All requests must be signed with X-Key
header (value of x_key
config field)