- Install Node.js
- ketik
npm install
di console - edit file
config.json
untuk konfigurasi bot dan frame - jika ingin menggunakan yarn ketik
yarn install
- ketik
node index.js
untuk menjalankan botnya!
{
"config": {
/* Frames location */
"dir": "./assets/temp",
/*Video Location*/
"video": "./assets/example.mp4",
/*shedule, empty it if not needed*/
"schedule": {
"hours": "",
"minutes": "
},
/*FB Token*/
"token": "insert token"
},
"frame": {
/*total frames you want to send*/
"times": "5",
/*upload times per frame*/
"duration": "30000",
/*frame format*/
"format": ".jpg"
}
}
click this redirect