The bot is made using Node.js and hosted it through Glitch.
Note: The Facebook page that is where the app is integrated is still not verified in Facebook so the functionalities of the page is exclusively available only to the developer and to the testers.
Connect this app to a verified Meta Business Account. If you don’t have one, you’ll need to create a new Business Account and verify it. Only business admins can complete this step.
If you wish to test the app functionalities...
Create a Meta for Developers account first and then send me an email with your Facebook profile link at brentokloy@protonmail.com
If you wish to recreate the app in your local machine...
Prerequisites
- - Meta for Developers account
- - A Facebook page
- - OpenWeatherMap account (needed to obtain API key)
- - Nodejs
Installation
- - Clone this repo to your local machine using `git clone`.
- - Create an account in Meta for Developers.
- - Create a new app and link your Facebook page to the app and provide messages feature to the app.
- - Create an account in OpenWeatherMap and obtain an API key.
- - Host the files to Glitch and set the .env variables accordingly.
- - Copy the link of your Glitch URL and add `/webhook` at the end and add it to the callback URL of the app together with the `VERIFY_TOKEN`
- - Set the mode of your app from Developer to Production.