This system using PHP MVC Framework with PHP 8.1.10 and NodeJS 18.18.0
This bot was created for learning purposes.
Sebuah bot Threads (Meta) untuk mendeteksi adanya gempa bumi terbaru yang terjadi di Indonesia, berdasarkan data yang diambil secara berkala dari BMKG.
- Setup Database & URL
app/config/Config.php
define("BASE_URL", "http://localhost/gempa-threads-bot/");
define("DB_HOST", "localhost");
define("DB_USER", "username");
define("DB_PASS", "password");
define("DB_NAME", "tbl_earthquake");
- Setup Threads Bot in
app/bot
npm install
- Rename
app/bot/.env.example
toapp/bot/.env
- Fill Username & Password Threads (Instagram)
app/bot/.env
PORT="your_port"
IG_USERNAME="your_username"
IG_PASSWORD="your_password"