Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messenger bot #4

Open
4 tasks
pniedzwiedzinski opened this issue Oct 27, 2019 · 0 comments
Open
4 tasks

Messenger bot #4

pniedzwiedzinski opened this issue Oct 27, 2019 · 0 comments

Comments

@pniedzwiedzinski
Copy link
Member

Messenger bot

Messenger bot will send daily messages about lucky number.

Architecture

Bot will be deployed on heroku, data will be stored in faunadb (or postgres), and daily job will be scheduled by AWS Lambda.

Todo

  • Database
  • Sending the message
  • Facebook page + facebook app
  • Lambda

Endpoints

  • /webhook - for communication with Facebook
  • /send-lucky-or-sth-like-this - send lucky number to all subscribers

Message responses

Message Response
unsubscribe You was successfully unsubscribed
subscribe You was successfully added to list of subscribers
help Type subscribe if you want me to send you lucky number every day. Type unsubscribe to remove from the list of subscribers
* I have problem with understanding you
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant