November 21, 2024Nov 21 Could you maybe extended the webhook receiving message feature? @Magd Almuntaser Because, in this current release it only handle basic thing, like photos media only. But, the thing in the list bellow are posted NULL to webhook Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) etc... Also, maybe can you specify the mediaType when media message are detected? Like mediaType:document or xlsx etc? { "message": "Here's the document you've requested sir.", "bufferMedia": Base64Encoded Media, "mediaType": "pdf", "isGroup": true, // Detect if its group or personal "from": "62xxxxxx" } or maybe more complex one? { "message": "parsed_command_content", "bufferMedia": "base64_encoded_media_or_null", "from": { "number": "sender_phone_number", "name": "sender_display_name", "profilePicture": "profile_picture_url_or_null" }, "participant": "participant_phone_number_or_null", "group": { "id": "group_id", "name": "group_name", "participants": [ { "number": "participant_number", "name": "participant_display_name" } ] }, "messageType": "text|image|video|audio|document", "media": { "url": "media_url_or_null", "type": "image|video|audio|document", "size": "media_size_in_bytes", "caption": "media_caption_or_null" }, "timestamp": "unix_timestamp", "messageId": "unique_message_id", "quotedMessage": { "content": "quoted_message_text_or_media_caption", "messageType": "text|image|video|audio|document", "media": { "url": "quoted_media_url_or_null", "type": "image|video|audio|document" }, "from": { "number": "quoted_sender_number", "name": "quoted_sender_name" } } } Or maybe you have better solutions? I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version? @Magd Almuntaser Also, some new endpoint for Delete Device instead just Disconnect Device maybe? Thank you in advance Edited November 21, 2024Nov 21 by DikaNura
November 21, 2024Nov 21 12 hours ago, Ipokane Biz said: @adhiete mas, minta tolong kalau "waiting for node server" terus itu bagaimana ya? Jadi tidak kunjung muncul QR codenya Shared hosting, node v20, WA v8.5.1 jelasinnya kurang detail Bro, sudah ngelakuin apa aja? sudah sesuai step by step install apa belum. coba di jelasin stepnya disini, nanti dibantuin 59 minutes ago, DikaNura said: Could you maybe extended the webhook receiving message feature? @Magd Almuntaser Because, in this current release it only handle basic thing, like media. But, the thing in the list bellow are posted NULL to webhook Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) etc... Also, maybe can you specify the mediaType when media message are detected? Like mediaType:document or xlsx etc? { "message": "Here's the document you've requested sir.", "bufferMedia": Base64Encoded Media, "mediaType": "pdf", "isGroup": true, // Detect if its group or personal "from": "62xxxxxx" } Or maybe you have better solutions? I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version? @Magd Almuntaser Thank you in advance WOW! nice Bro. Hope it will be implemented too on next version.
November 21, 2024Nov 21 hallo klo panduan instalasi pakai vps ubuntu ada nggak ya ? klo ada boleh donk
November 21, 2024Nov 21 13 hours ago, adhiete said: jelasinnya kurang detail Bro, sudah ngelakuin apa aja? sudah sesuai step by step install apa belum. coba di jelasin stepnya disini, nanti dibantuin Instal sudah sesuai step2 yang di MPWA, node juga sudah jalan. Detail apa yang diperlukan ya? Karena saya tidak melakukan apa-apa selain yang ada di petunjuk instal. Dan mau ngapa2in juga tidak tahu apanya yang harus diapain 😄
November 21, 2024Nov 21 Author 15 hours ago, DikaNura said: Could you maybe extended the webhook receiving message feature? @Magd Almuntaser Because, in this current release it only handle basic thing, like photos media only. But, the thing in the list bellow are posted NULL to webhook Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) etc... Also, maybe can you specify the mediaType when media message are detected? Like mediaType:document or xlsx etc? { "message": "Here's the document you've requested sir.", "bufferMedia": Base64Encoded Media, "mediaType": "pdf", "isGroup": true, // Detect if its group or personal "from": "62xxxxxx" } or maybe more complex one? { "message": "parsed_command_content", "bufferMedia": "base64_encoded_media_or_null", "from": { "number": "sender_phone_number", "name": "sender_display_name", "profilePicture": "profile_picture_url_or_null" }, "participant": "participant_phone_number_or_null", "group": { "id": "group_id", "name": "group_name", "participants": [ { "number": "participant_number", "name": "participant_display_name" } ] }, "messageType": "text|image|video|audio|document", "media": { "url": "media_url_or_null", "type": "image|video|audio|document", "size": "media_size_in_bytes", "caption": "media_caption_or_null" }, "timestamp": "unix_timestamp", "messageId": "unique_message_id", "quotedMessage": { "content": "quoted_message_text_or_media_caption", "messageType": "text|image|video|audio|document", "media": { "url": "quoted_media_url_or_null", "type": "image|video|audio|document" }, "from": { "number": "quoted_sender_number", "name": "quoted_sender_name" } } } Or maybe you have better solutions? I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version? @Magd Almuntaser Also, some new endpoint for Delete Device instead just Disconnect Device maybe? Thank you in advance Ok i will see what i can do .. But about sticker there's send sticker on (api-docs) 9 hours ago, Dwi Andarini said: hallo klo panduan instalasi pakai vps ubuntu ada nggak ya ? klo ada boleh donk If you are using an empty Ubuntu VPS that does not have any content or website, you can use this code and install it via SSH: Warning Warning Warning (Do not use this command if your server is not empty, because this command is only for completely empty servers because it installs all the necessary programs and creates the necessary folders) wget --no-check-certificate -O mpwa-new.sh https://www.onexgen.com/mpwa/download/mpwa_new.sh chmod +x mpwa_new.sh ./mpwa_new.sh But if your server contains a website and previous files, the installation is very easy and you will find people here who have explained the installation method and people here will also help you
November 21, 2024Nov 21 @Magd Almuntaser Hi, I also tried the WhatsApp business catalog. Bailey's library has business.js, which has all the functions. It would be great if you could also add WhatsApp business catalog APIs and also in webhook. Catalog APIs will be very useful. Many small businesses can connect WhatsApp with POS and add products to their WhatsApp business directly from their POS. I also tried this thing, and it works fine. I made new functions for getting and posting catalogs to WhatsApp that are working fine.
November 21, 2024Nov 21 Author 1 minute ago, Hafiz M Qasim said: @Magd Almuntaser Hi, I also tried the WhatsApp business catalog. Bailey's library has business.js, which has all the functions. It would be great if you could also add WhatsApp business catalog APIs and also in webhook. Catalog APIs will be very useful. Many small businesses can connect WhatsApp with POS and add products to their WhatsApp business directly from their POS. I also tried this thing, and it works fine. I made new functions for getting and posting catalogs to WhatsApp that are working fine. Yes, it is already present in mpwa, but I have previously stopped it, because it is useless. If you have WhatsApp Business, why would you use the automatic response, when WhatsApp will give you the automatic response anyway.. mpwa is more directed to people who use regular WhatsApp as a business WhatsApp. But these features can be added later after completing adding all the features to the regular WhatsApp
November 21, 2024Nov 21 @Magd Almuntaserok sure. but the problem is not regular or business WhatsApp.The problem is that I have an online store and I publish my products to my store but I also want to add products to my WhatsApp business so I have to add those products manually if I have APIs I can implement them with an online store as I will publish products on the online store that products will automatically be added on my WhatsApp business catalog Edited November 21, 2024Nov 21 by Hafiz M Qasim
November 22, 2024Nov 22 6 hours ago, Magd Almuntaser said: Ok i will see what i can do .. But about sticker there's send sticker on (api-docs) If you are using an empty Ubuntu VPS that does not have any content or website, you can use this code and install it via SSH: Warning Warning Warning (Do not use this command if your server is not empty, because this command is only for completely empty servers because it installs all the necessary programs and creates the necessary folders) wget --no-check-certificate -O mpwa-new.sh https://www.onexgen.com/mpwa/download/mpwa_new.sh chmod +x mpwa_new.sh ./mpwa_new.sh But if your server contains a website and previous files, the installation is very easy and you will find people here who have explained the installation method and people here will also help you I got an idea, there are cheap Nat Vps seller on indonesia. Can this script installed on nat vps? cause the problem is must searching port for accessing it.
November 22, 2024Nov 22 8 hours ago, Magd Almuntaser said: But if your server contains a website and previous files, the installation is very easy and you will find people here who have explained the installation method and people here will also help you ada yang bisa bantu para master 🙌
November 22, 2024Nov 22 11 hours ago, Ipokane Biz said: Instal sudah sesuai step2 yang di MPWA, node juga sudah jalan. Detail apa yang diperlukan ya? Karena saya tidak melakukan apa-apa selain yang ada di petunjuk instal. Dan mau ngapa2in juga tidak tahu apanya yang harus diapain 😄 ada beberapa kemungkinan kalau qr nya engga jalan. 1. salah satunya port node.js nya engga running di 3100, tapi running di lain port. 2. pastiin eksekusi server.js nya bener di foldernya. eksekusinya di halaman berapa yang diikutin? buat check port bisa pake portchecker*co. bintangnya ganti pake dot. atau scan port pakai nmap
November 22, 2024Nov 22 1 hour ago, Dwi Andarini said: ada yang bisa bantu para master 🙌 check node apakah sudah keinstall? check apakah port sudah listen, sesuai, dan running? check apakah portnya juga sudah open? check apakah sudah eksekusi server.jsnya? check apakah pengaturan di web portnya sudah benar?
November 22, 2024Nov 22 Author 2 hours ago, Dwi Andarini said: ada yang bisa bantu para master 🙌 Yes that mean working .. just try to open your site like that: http://yoursite.com/public/login if it's working what mean you only need to set index.php the default page ..
November 22, 2024Nov 22 3 hours ago, adhiete said: ada beberapa kemungkinan kalau qr nya engga jalan. 1. salah satunya port node.js nya engga running di 3100, tapi running di lain port. 2. pastiin eksekusi server.js nya bener di foldernya. eksekusinya di halaman berapa yang diikutin? 1. cara mengecek node.js running di port berapa, itu bagaimana ya? Di .env PORT_NODE=3100 2. InsyaAllah sudah bener. 3. Ini saya instal di shared hosting, ketika saya cek pakai portchecker*co, informasinya port 3100 is closed, tetapi saya yakin itu tidak benar, karena saya instal WA Gateway versi lain di sub domain lain bisa connected sama2 port 3100, seperti gambar di bawah.
November 22, 2024Nov 22 2 hours ago, Ipokane Biz said: 1. cara mengecek node.js running di port berapa, itu bagaimana ya? Di .env PORT_NODE=3100 2. InsyaAllah sudah bener. 3. Ini saya instal di shared hosting, ketika saya cek pakai portchecker*co, informasinya port 3100 is closed, tetapi saya yakin itu tidak benar, karena saya instal WA Gateway versi lain di sub domain lain bisa connected sama2 port 3100, seperti gambar di bawah. Di coba port scan aj antara 3000 - 3100 Harusnya sih kalau portnya open di 3100, statusnya pasti open. Terus bisa connect. Tergantung di shared hostingnya kadang. bisa 3000 bisa 3100 nanti kalau sudah ketemu mana yang open. Baru di env nya diganti atau lewat di web nya diganti ke port yang sesuai.
November 22, 2024Nov 22 Port 3100 sudah connected. Mungkin terkait node.jsnya. Entahlah, menunggu versi 9 aja 😄 Terima kasih bang
November 22, 2024Nov 22 3 hours ago, Ipokane Biz said: Port 3100 sudah connected. Mungkin terkait node.jsnya. Entahlah, menunggu versi 9 aja 😄 Terima kasih bang Pakai generate ssl ga? kalau versi gw cuma rubah server type sama port nodejs tanpa generate ssl langsung muncul qr nya Edited November 22, 2024Nov 22 by ekkybaihaqi
November 22, 2024Nov 22 Here's how to install using AAPanel: Upload the source code to the PHP Project as usual. Add a Node project under the Website menu in AAPanel. Set the folder PATH to match the directory in your PHP Project. Select CUSTOM COMMAND in the Run opt section and choose your desired port. If you want to add a new domain, include it in the domain settings. Otherwise, the port will be accessible via the main server's domain. For Admin MPWA settings, select Other.
November 22, 2024Nov 22 13 hours ago, Dwi Andarini said: ada yang bisa bantu para master 🙌 ini kesalahan pada .htaccses, rapihin aja
November 22, 2024Nov 22 55 minutes ago, ekkybaihaqi said: Pakai generate ssl ga? Iya pake. Pengaruh ya? Oh, port 80 gpp ya? Lalu kenapa defaultnya port 3100 ya?
November 22, 2024Nov 22 2 minutes ago, Ipokane Biz said: Iya pake. Pengaruh ya? Oh, port 80 gpp ya? Lalu kenapa defaultnya port 3100 ya? Coba tanpa generate ssl bisa ngga 2 minutes ago, Ipokane Biz said: Oh, port 80 gpp ya? Lalu kenapa defaultnya port 3100 ya? Tergantung penyedia hostingnya sih kayaknya open port nodejs nya berapa. saya tanya portnya 80 soalnya wkwk atau ga coba aja samain barangkali bisa 😁
November 22, 2024Nov 22 Just now, ekkybaihaqi said: Coba tanpa generate ssl bisa ngga Ini kan sudah sy generate, bisa diundo ya? 😄 Just now, ekkybaihaqi said: Tergantung penyedia hostingnya sih kayaknya open port nodejs nya berapa. saya tanya portnya 80 soalnya wkwk atau ga coba aja samain barangkali bisa 😁 Saya instal versi lain di subdomain lain pakai port 3100 normal, alias bisa keluar QR code & bisa scan & login. Jadi harusnya bukan soal portnya tertutup.
November 22, 2024Nov 22 Just now, Ipokane Biz said: Ini kan sudah sy generate, bisa diundo ya? Gatau biasanya ku install ulang 😂 1 minute ago, Ipokane Biz said: Saya instal versi lain di subdomain lain pakai port 3100 normal, alias bisa keluar QR code & bisa scan & login. Jadi harusnya bukan soal portnya tertutup. Atau ga coba rubah app_url di .env menjadi http
November 22, 2024Nov 22 1 minute ago, ekkybaihaqi said: Gatau biasanya ku install ulang 😂 Nah, mungkin akan melakukan hal yang sama 😅, makanya nunggu sekalian yang versi 9 aja. 1 minute ago, ekkybaihaqi said: Atau ga coba rubah app_url di .env menjadi http Iya sudah ini. Kalo boleh tahu hosting di mana bang?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.