Poya Reminder is a Facebook Messenger bot which notifies about upcoming Poya Dates. This is an inspiration of the website : https://nextpoyawhen.com/
Will update this once Facebook approved the bot. Stay tuned :)
- Node.js v10.15.0
- ExpressJS
- Axios
- NextPoyaWhen.com API
-
Clone the repository
-
Install dependencies
npm install
-
Create an app on Facebook Developer Platform
-
Create and connect a Facebook page with the app & get the Page Access Token
-
Create a bot on Dashbot Analytics (Optional) and grab the API KEY if you need analytics
-
Rename the file
.env.example
to.env
-
Add a Verify Token as you wish, the page access token and dashbot API Key if you created a dashbot bot to get analytics
FB_VERIFY_TOKEN = HelloPoyaBot FB_PAGE_ACCESS_TOKEN = thisisasamplepageaccesstoken PORT = 3000 DASHBOT_API_KEY = thisisasampleapikey
-
Finally, Run it To locally run use:
npm run start_local
To run in a Production Server:
npm run start
- Fork the repository
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Feel free to suggest new features, report issues and contribute :)
- To @thameera - NextPoyaWhen.com
- NextPoyaWhen.com Repository - https://github.com/thameera/poya