December 8, 2024Dec 8 24 minutes ago, MarCoVar01 said:@Magd Almuntaser Node.js works but it doesn't work for me in the app, it doesn't show the Qr and the codes it generates don't connect, Previously I had installed the mpwa 5.2 version with node V18, in which I installed the mpwa 8.5.1 version and put the node 20.18.1 version on it, but for about 4 days the node has not been working correctly, presenting that failure that I sentsame issue i face still not resolve this issue why this happend
December 8, 2024Dec 8 Master @Magd Almuntaser bisakah Api WhatsApp mengirimkan panggilan?& Adakah rekomendasi api hadits untuk diterapkan di mpwa?Terimakasih
December 8, 2024Dec 8 10 hours ago, Finansial Muda said:how to overcome it? AApanelChange permision laravel.log in storage/log/laravel.log with 777optional change owner to www or root
December 8, 2024Dec 8 3 hours ago, Solusi Legalitas said:Master @Magd Almuntaser bisakah Api WhatsApp mengirimkan panggilan?& Adakah rekomendasi api hadits untuk diterapkan di mpwa?Terimakasihmaksudnya panggilan suara om, untuk apa om.. tetap aja nggak bsa ngomong 😅untuk api hadist cek halaman sebelumnya om, udah ada share file nya kok sebagai webhook..
December 8, 2024Dec 8 21 minutes ago, Dammah Sifla said:maksudnya panggilan suara om, untuk apa om.. tetap aja nggak bsa ngomong 😅untuk api hadist cek halaman sebelumnya om, udah ada share file nya kok sebagai webhook..21 minutes ago, Dammah Sifla said:maksudnya panggilan suara om, untuk apa om.. tetap aja nggak bsa ngomong 😅untuk api hadist cek halaman sebelumnya om, udah ada share file nya kok sebagai webhook..Sebagai alarm waktu subuh Master 😁😁😁
December 8, 2024Dec 8 How to customize and restrict bot replays @Magd Almuntaser. Edited December 8, 2024Dec 8 by Events online
December 10, 2024Dec 10 On 12/8/2024 at 12:34 AM, MarCoVar01 said:I am having the same problem with node.js, after a long time everything worked normally, do you know why the problem is and what the solution is?try restart the nodejs, check nodejs pid fileor try to use another portOn 12/8/2024 at 9:28 AM, dewanoo said:same issue i face still not resolve this issue why this happendtry to use another port, check whether the specification is meetOn 12/7/2024 at 7:48 PM, badas said:Om, bisa tolong dibagi .htaccess untuk webserver nginxJadi gak bisa instal setelah pindah ke nginxlisten xxxxxx (sesuaikan dengan port, http 80, https 443);listen [::]; server_name sesuaikandomain; # change this for your server root /var/www/sesuaikanrootfolder/public; index index.php index.html index.nginx-debian.html; server_tokens off; location / { try_files $uri $uri/ /index.php?$args; location ~ /public/ { rewrite ^(.*)$ /public/$1 break;} location ~* "/\.(htaccess|htpasswd)$" { deny all; return 404; }
December 10, 2024Dec 10 Guys anyone yet figured out the solution to Sending Media FILE ?? I’m getting the following error when Trying to send the Test message and when trying to send the Media Campaign it gets failed.
December 11, 2024Dec 11 4 hours ago, justintimb said:Guys anyone yet figured out the solution to Sending Media FILE ?? I’m getting the following error when Trying to send the Test message and when trying to send the Media Campaign it gets failed.run:yoursite.com/storage-linkif it throws error, then enter below manually in terminalln -s /path/to/your/mpwa/storage/app/public /path/to/your/mpwa/public/storage
December 11, 2024Dec 11 On 12/8/2024 at 7:29 PM, Solusi Legalitas said:Master @Magd Almuntaser bisakah Api WhatsApp mengirimkan panggilan?& Adakah rekomendasi api hadits untuk diterapkan di mpwa?Terimakasihkemungkinan tidak bisa, karena library baileys yang dipakai MPWA tidak ada / belum support membuat panggilan.Namun, beberapa hal yang mungkin dilakukan terkait dengan panggilan di WhatsApp menggunakan Baileys adalah:Mendeteksi Status PanggilanBaileys dapat menerima pembaruan notifikasi terkait status panggilan WhatsApp. Misalnya, jika seseorang menelepon Anda di WhatsApp, library dapat mendeteksi notifikasi tersebut sebagai bagian dari event update.Mengelola Notifikasi PanggilanBaileys mungkin bisa mengidentifikasi dan memproses notifikasi panggilan masuk. Namun, tidak bisa menjawab panggilan atau membuat panggilan.Kemampuan ini terbatas karena Baileys beroperasi pada protokol WhatsApp Web, yang tidak mendukung panggilan suara atau video. Jika Anda memerlukan fungsi panggilan, Anda harus menggunakan perangkat resmi atau aplikasi asli WhatsApp.
December 11, 2024Dec 11 1 hour ago, DikaNura said:kemungkinan tidak bisa, karena library baileys yang dipakai MPWA tidak ada / belum support membuat panggilan.Namun, beberapa hal yang mungkin dilakukan terkait dengan panggilan di WhatsApp menggunakan Baileys adalah:Mendeteksi Status PanggilanBaileys dapat menerima pembaruan notifikasi terkait status panggilan WhatsApp. Misalnya, jika seseorang menelepon Anda di WhatsApp, library dapat mendeteksi notifikasi tersebut sebagai bagian dari event update.Mengelola Notifikasi PanggilanBaileys mungkin bisa mengidentifikasi dan memproses notifikasi panggilan masuk. Namun, tidak bisa menjawab panggilan atau membuat panggilan.Kemampuan ini terbatas karena Baileys beroperasi pada protokol WhatsApp Web, yang tidak mendukung panggilan suara atau video. Jika Anda memerlukan fungsi panggilan, Anda harus menggunakan perangkat resmi atau aplikasi asli WhatsApp.Ok terimakasih
December 11, 2024Dec 11 22 hours ago, adhiete said:try restart the nodejs, check nodejs pid fileor try to use another porttry to use another port, check whether the specification is meetlisten xxxxxx (sesuaikan dengan port, http 80, https 443);listen [::];server_name sesuaikandomain; # change this for your serverroot /var/www/sesuaikanrootfolder/public;index index.php index.html index.nginx-debian.html;server_tokens off;location / {try_files $uri $uri/ /index.php?$args;location ~ /public/ {rewrite ^(.*)$ /public/$1 break;}location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;}Udah bisa om, saya coba-coba url rewrite.thank for your reply. Edited December 11, 2024Dec 11 by badas
December 11, 2024Dec 11 On 12/8/2024 at 10:15 AM, Finansial Muda said:how to overcome it? AApanelsudo chmod -R ugo+rw storagesudo chmod -R ugo+rw bootstrap/cache
December 11, 2024Dec 11 2 hours ago, Drive. C said:need help always get error run NPM node js, im using cpanel shared hostingShare hosting open port 3100?
December 11, 2024Dec 11 Tailing last 15 lines for [server] process (change the value with --lines option) /root/.pm2/logs/server-out.log last 15 lines: /root/.pm2/logs/server-error.log last 15 lines: 0|server | Error: Cannot find module '/www/wwwroot//node_modules/@whiskeysockets/baileys/lib/index.js'. Please verify that the package.json has a valid "main" entry 0|server | at tryPackage (node:internal/modules/cjs/loader:400:19) 0|server | at Module._findPath (node:internal/modules/cjs/loader:613:18) 0|server | at Module._resolveFilename (node:internal/modules/cjs/loader:981:27) 0|server | at Hook._require.Module.require (/www/server/nodejs/v20.15.1/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) 0|server | at require (node:internal/modules/cjs/helpers:103:18) 0|server | at Object.<anonymous> (/www/wwwroot/server/whatsapp.js:9:5) 0|server | at Module._compile (node:internal/modules/cjs/loader:1159:14) 0|server | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) 0|server | at Module.load (node:internal/modules/cjs/loader:1037:32) 0|server | at Module._load (node:internal/modules/cjs/loader:878:12) { 0|server | code: 'MODULE_NOT_FOUND', 0|server | path: '/www/wwwroot/node_modules/@whiskeysockets/baileys/package.json', 0|server | requestPath: '@whiskeysockets/baileys' 0|server | }please fix this, karena ini yang bikin stoppeddan sudah difix untuk command yarn add @whiskeysockets/baileys untuk fix diatas Edited December 11, 2024Dec 11 by Rivai
December 11, 2024Dec 11 how I start the server on port 3100? I have installed but server not starting.regardsenrico
December 11, 2024Dec 11 1 minute ago, Enrico said:bagaimana cara memulai server pada port 3100? Saya sudah menginstalnya tetapi server tidak bisa dijalankan.salamEnricoplease explain in detail. what OS do you use? Then you ask in detail
December 11, 2024Dec 11 vor 12 Minuten schrieb Aldi Luthfi: please explain in detail. what OS do you use? Then you ask in detailI use ubuntu and Plesk.
December 11, 2024Dec 11 1 minute ago, Enrico said:I use ubuntu and Plesk.Sudah saya info sebelumnya diatas dan langsung saya kasih troubleshootnya
December 13, 2024Dec 13 There’s some mismatching routing endpoint in API Documentation Page. Where in Documentation page endpoint of Device Info, it says info-deviceWhen in the real routing endpoint, it should be info-devicesIt causes 404 when you do the endpoint from Documentation Page.Maybe you need to correct this on next release @Magd Almuntaser
December 13, 2024Dec 13 Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.When the reality is, the device is already Disconnected.Is that bug or its indeed the feature works like that? @Magd Almuntaser Edited December 13, 2024Dec 13 by DikaNura
December 13, 2024Dec 13 1 hour ago, DikaNura said:Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.When the reality is, the device is already Disconnected.Is that bug or its indeed the feature works like that? @Magd AlmuntaserI Able to fix this issue.The issue is the device status is stored in Laravel Cache, we need to run php artisan cache:clear to able use Endpoint generate-qr again.The solution is, we need to add cache clearing function. Use Cache::forget in your logoutDevice method to target the specific cache entry and ensure the changes reflect immediately. Also, I add some other improvement.This is the code that I usepublic function logoutDevice(Request $request) { $device = Device::whereBody($request->sender)->first(); // If the device doesn't exist, return an error response. if (!$device) { return response()->json(['status' => false, 'message' => __('Device not found')]); } if ($device->status != 'Connected') { return response()->json(['status' => true, 'message' => __('Connection closed. You are logged out.')]); } $whatsappService = new WhatsappServiceImpl(); try { $respon = $whatsappService->logoutDevice($device->body); // Remove the cached device entry to prevent stale data issues. Cache::forget(CacheKey::DEVICE_BY_BODY . $request->sender); return $respon; } catch (\Throwable $th) { return response()->json(['status' => false, 'message' => __('WhatsApp server unable to reach')]); } }@Magd Almuntaser Edited December 13, 2024Dec 13 by DikaNura
December 13, 2024Dec 13 Author 2 hours ago, DikaNura said:There’s some mismatching routing endpoint in API Documentation Page.Where in Documentation page endpoint of Device Info, it says info-deviceWhen in the real routing endpoint, it should be info-devicesIt causes 404 when you do the endpoint from Documentation Page.Maybe you need to correct this on next release @Magd AlmuntaserIt has already been fixed in version 9.0.0..The problem is only in the mpwa theme but in eres and erescompact you will find them correctly2 hours ago, DikaNura said:Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.When the reality is, the device is already Disconnected.Is that bug or its indeed the feature works like that? @Magd AlmuntaserIt will be fixed in version 9.0.0. Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.