Whatsapp API dan Notifikasi WHMCS


kemungkinan service api nya tuan, mungkin bisa coba dijalankan ulang service api wa nya & cek port nya, default port nya 8080
jika api sudah sukses running nanti ada notifikasi Hello world app listening on port xxx

jika ip address dan port api nya berbeda, di script python nya bisa diubah di antara line 24 seberti dibawah:
View attachment 7075
Port 8080 aman, sudah beberapa kali saya coba pakai command /usr/local/bin/node /var/www/Whatsapp-WHMCS/index.js &
dana saya tunggu lama tidak muncul notif hello world
 
Setelah sekian panjang pembahasan pada Thread ini, apakah ada yg sudah berhasil mengintegrasikannya ke WHMCS?

Kalo ada yg sdh berhasil, boleh dong di share proses dan screenshot nya seperti apa?

Terima Kasih
 
Permisi Tuan, saya jalankan node index.js ko hasil nya begini ya

root@lazynetubuntu:/home/wilink/Whatsapp-WHMCS# node index.js
/home/wilink/Whatsapp-WHMCS/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241
reject(new Error([
^

Error: Failed to launch the browser process!
/home/wilink/Whatsapp-WHMCS/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/home/wilink/Whatsapp-WHMCS/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
at Interface.<anonymous> (/home/wilink/Whatsapp-WHMCS/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:533:10)
at Socket.onend (node:internal/readline/interface:259:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.16.1
 
Back
Top