ondela wahyu Posted October 11 Posted October 11 11 hours ago, Jajan Dari Android said: Here the solution mate this is a solution, 6 hours ago, Unicode said: Try another theme. sometimes bugs come from theme this is also a solution, thank you all Quote
adhiete Posted October 11 Posted October 11 (edited) 19 hours ago, Gusik Prasetyo said: The message appear, select phonebook first then add contact Om Gusik, mau tanya, ini biar bisa balas dari nomor apapun yang chat ke sender, untuk number harus kita isi apa ya? function sendWaText(number, messagetosend) { var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API var sender = "628xxxxxxxxxx" // ganti nomer HP var url = "https://websitekamu/send-message"; //ganti website var msgtext = { 'api_key': APIKey, 'sender': sender, "number": number, 'message': messagetosend, }; Edited October 11 by adhiete Quote
Gusik Prasetyo Posted October 11 Posted October 11 4 hours ago, adhiete said: Om Gusik, mau tanya, ini biar bisa balas dari nomor apapun yang chat ke sender, untuk number harus kita isi apa ya? function sendWaText(number, messagetosend) { var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API var sender = "628xxxxxxxxxx" // ganti nomer HP var url = "https://websitekamu/send-message"; //ganti website var msgtext = { 'api_key': APIKey, 'sender': sender, "number": number, 'message': messagetosend, }; g bisa om, d versi ini belum bisa rotasi nomer. jadi yg balas dari nomer yang d tentukan aja. di versi yang akan datang sepertinya bisa rotasi nomer. Quote
Unicode Posted October 11 Posted October 11 (edited) @Magd Almuntaser Really you need encode this script master Edited October 11 by Unicode Quote
Unicode Posted October 11 Posted October 11 (edited) 28 minutes ago, Magd Almuntaser said: Edited October 11 by Unicode Quote
Dammah Sifla Posted October 11 Posted October 11 10 hours ago, adhiete said: Om Gusik, mau tanya, ini biar bisa balas dari nomor apapun yang chat ke sender, untuk number harus kita isi apa ya? function sendWaText(number, messagetosend) { var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API var sender = "628xxxxxxxxxx" // ganti nomer HP var url = "https://websitekamu/send-message"; //ganti website var msgtext = { 'api_key': APIKey, 'sender': sender, "number": number, 'message': messagetosend, }; Coba begini om.. function sendWaText(number, messagetosend) { const senders = [ "628xxxxxxxxxx1", "628xxxxxxxxxx2", "628xxxxxxxxxx3" ]; //beberapa nomor sender yang konek dengan api key yang sama const randomIndex = Math.floor(Math.random() * senders.length); const sender = senders[randomIndex]; //random nomor sender const APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy"; // Ganti dengan API const url = "https://websitekamu/send-message"; // Ganti website const msgtext = { 'api_key': APIKey, 'sender': sender, //nomor sender acak "number": number, 'message': messagetosend, }; itu dari script mana om? Quote
Gusik Prasetyo Posted October 11 Posted October 11 1 hour ago, Dammah Sifla said: Coba begini om.. function sendWaText(number, messagetosend) { const senders = [ "628xxxxxxxxxx1", "628xxxxxxxxxx2", "628xxxxxxxxxx3" ]; //beberapa nomor sender yang konek dengan api key yang sama const randomIndex = Math.floor(Math.random() * senders.length); const sender = senders[randomIndex]; //random nomor sender const APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy"; // Ganti dengan API const url = "https://websitekamu/send-message"; // Ganti website const msgtext = { 'api_key': APIKey, 'sender': sender, //nomor sender acak "number": number, 'message': messagetosend, }; itu dari script mana om? Itu om dam, script autoreply dari googlesheet ntar d pasang d webhook Quote
Dammah Sifla Posted October 11 Posted October 11 11 minutes ago, Gusik Prasetyo said: Itu om dam, script autoreply dari googlesheet ntar d pasang d webhook oh kok gw baru liat ya mantap om.. mana scriptnya cuma sepotong lagi yang di tanya Quote
Crypto Dash Posted October 12 Posted October 12 Hello, i want to suggest something please add multi reply for same trigger message lets suppose i want to add many messages including media, sticker, text so we can with one trigger for now we can create only one trigger with one thing, but sometimes we need to create multi images/videos and text Quote
adriano Posted October 12 Posted October 12 What should I do to work with SSL, the system already opens with https, but it does not generate qrcode Quote
adhiete Posted October 14 Posted October 14 (edited) @Gusik Prasetyo maksud ane si pengirimnya (lawan bicara chatnya, bukan sender) Om Gusik. Biar bisa reply to all. Kalau sendernya sih ane maunya satu aj yang sudah ane tentuin. Om Gusik itu scriptnya masih belum bisa kirim ya yang dulu Om kirim. Lupa halaman berapa gitu. @Dammah Sifla ane mau cobain dulu, soalnya kalau numbernya engga di definisikan pasti error. const msgtext = { 'api_key': APIKey, 'sender': sender, //nomor sender acak "number": number, <<<------- ini maunya semua yang chat ke sender engga perlu numbernya di definisikan, Om. 'message': messagetosend, maksud ane itu Om Dam. Jadi semua yang chat (semua nomor yang chat ke sender) dibalas dengan apa yang sudah ane definisikan. Scriptnya ada lengkapnya engga Om, scriptnya gagal test kirim. @adriano you install on VPS, Bro? if yes, just change .env on root your host folder. To this, APP_URL=https://yourwebsite WA_URL_SERVER=https://yourwebsite:yournodeport Because i solved mine with this. Edited October 14 by adhiete Quote
Hit Solanki Posted October 14 Posted October 14 Having trouble installing node.js. Please explain me the correct and correct method to install node.js. and node.js. Which version of would be suitable Quote
Dammah Sifla Posted October 14 Posted October 14 2 hours ago, adhiete said: @Gusik Prasetyo maksud ane si pengirimnya (lawan bicara chatnya, bukan sender) Om Gusik. Biar bisa reply to all. Kalau sendernya sih ane maunya satu aj yang sudah ane tentuin. Om Gusik itu scriptnya masih belum bisa kirim ya yang dulu Om kirim. Lupa halaman berapa gitu. @Dammah Sifla ane mau cobain dulu, soalnya kalau numbernya engga di definisikan pasti error. const msgtext = { 'api_key': APIKey, 'sender': sender, //nomor sender acak "number": number, <<<------- ini maunya semua yang chat ke sender engga perlu numbernya di definisikan, Om. 'message': messagetosend, maksud ane itu Om Dam. Jadi semua yang chat (semua nomor yang chat ke sender) dibalas dengan apa yang sudah ane definisikan. Scriptnya ada lengkapnya engga Om, scriptnya gagal test kirim. harusnya nomor penerima itu udah automatis om, krn dia melalui incommingMessage to Webhook dari MPWA. lihat script lengkapnya om.. function doPost(e) { var data = e.postData.contents; var json = JSON.parse(data); var number = json['from']; var senderMessage = json['message']; var file = json['bufferImage']; var pesan = senderMessage.toLowerCase(); var newMessage = pesan.split(" "); var searchreply = autoreply(newMessage[0]); var type = searchreply[1]; var messagetosend = searchreply[2]; var file = searchreply[3]; if(type == "file"){ sendWaFile(number, messagetosend, file); } else if(type == "button") { sendWaButton(number, messagetosend, file); } else if(type == "list") { sendWaList(number, messagetosend, file); } else { sendWaText(number, messagetosend); // <-- variabel number } } function sendWaText(number, messagetosend) { // <-- variabel number var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API var sender = "628xxxxxxxxxx" // ganti nomer HP var url = "https://websitekamu/send-message"; //ganti website var msgtext = { 'api_key': APIKey, 'sender': sender, "number": number, // <-- variabel number sudah automatis beda dengan sender 'message': messagetosend, }; var response = UrlFetchApp.fetch(url, { "method": "POST", "contentType": "application/json", "payload" : JSON.stringify(msgtext), }); Logger.log(response.getContentText()); } kalau gagal kirim coba periksa lagi variabel nya.. cek log errornya 1 Quote
Dammah Sifla Posted October 14 Posted October 14 43 minutes ago, Hit Solanki said: Having trouble installing node.js. Please explain me the correct and correct method to install node.js. and node.js. Which version of would be suitable Are you using it on Cpanel or other panels? Compatible version of node.js in my opinion is version 18 and above.. Quote
adhiete Posted October 14 Posted October 14 14 minutes ago, Dammah Sifla said: harusnya nomor penerima itu udah automatis om, krn dia melalui incommingMessage to Webhook dari MPWA. lihat script lengkapnya om.. function doPost(e) { var data = e.postData.contents; var json = JSON.parse(data); var number = json['from']; var senderMessage = json['message']; var file = json['bufferImage']; var pesan = senderMessage.toLowerCase(); var newMessage = pesan.split(" "); var searchreply = autoreply(newMessage[0]); var type = searchreply[1]; var messagetosend = searchreply[2]; var file = searchreply[3]; if(type == "file"){ sendWaFile(number, messagetosend, file); } else if(type == "button") { sendWaButton(number, messagetosend, file); } else if(type == "list") { sendWaList(number, messagetosend, file); } else { sendWaText(number, messagetosend); // <-- variabel number } } function sendWaText(number, messagetosend) { // <-- variabel number var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API var sender = "628xxxxxxxxxx" // ganti nomer HP var url = "https://websitekamu/send-message"; //ganti website var msgtext = { 'api_key': APIKey, 'sender': sender, "number": number, // <-- variabel number sudah automatis beda dengan sender 'message': messagetosend, }; var response = UrlFetchApp.fetch(url, { "method": "POST", "contentType": "application/json", "payload" : JSON.stringify(msgtext), }); Logger.log(response.getContentText()); } kalau gagal kirim coba periksa lagi variabel nya.. cek log errornya Bahhhh, aneh, akhirnya jalan juga Om wakakaka. Asemmmmm. Argghhhh udah dua mingguan utak atik. Grrrr.... Baru jalan ini tadi Om Dam. Makasih banyak. Kayanya ada salah di tanda mungkin ya. 57 minutes ago, Hit Solanki said: Having trouble installing node.js. Please explain me the correct and correct method to install node.js. and node.js. Which version of would be suitable Install on VPS? cPanel? AAPanel? or? Node 18 or above is ok. I'm using 20 on my VPS. 1 Quote
Jei Grey Posted October 14 Posted October 14 Bagaimana memperbaiki tampilan ini?. create campaign Schedule. mohon bantuannya.. Terima Kasih Quote
armanalimin Posted October 14 Posted October 14 Just now, Jei Grey said: Bagaimana memperbaiki tampilan ini?. create campaign Schedule. mohon bantuannya.. Terima Kasih Ada dihalaman sebelumnya, coba cari cuman lupa halaman berapa. Quote
Jei Grey Posted October 14 Posted October 14 Just now, armanalimin said: Ada dihalaman sebelumnya, coba cari cuman lupa halaman berapa. kata kuncinya? Quote
Gusik Prasetyo Posted October 14 Posted October 14 18 minutes ago, Jei Grey said: Bagaimana memperbaiki tampilan ini?. create campaign Schedule. mohon bantuannya.. Terima Kasih Coba tampilan nya d perkecil om. Misal jd 80 ato 90 % 1 Quote
Jei Grey Posted October 14 Posted October 14 1 minute ago, Gusik Prasetyo said: Coba tampilan nya d perkecil om. Misal jd 80 ato 90 % sudah ketemu Om.. Quote
Gusik Prasetyo Posted October 14 Posted October 14 7 minutes ago, Jei Grey said: sudah ketemu Om.. Jadi d apakan om? Quote
Jei Grey Posted October 14 Posted October 14 4 minutes ago, Gusik Prasetyo said: Jadi d apakan om? ada update folder resource. ada di halaman 139 Quote
adhiete Posted October 14 Posted October 14 @Gusik Prasetyo Om Gusik, itu kalau ke group, number diganti jadi apa Om? "number": number, Quote
Gusik Prasetyo Posted October 14 Posted October 14 2 minutes ago, adhiete said: @Gusik Prasetyo Om Gusik, itu kalau ke group, number diganti jadi apa Om? "number": number, Tergantung tujuan pembuatan om. Autoreply atokah kirim pesan. Quote
adhiete Posted October 14 Posted October 14 1 minute ago, Gusik Prasetyo said: Tergantung tujuan pembuatan om. Autoreply atokah kirim pesan. Autoreply Om, tapi sekalian yang kirim pesan grup juga boleh deh. Hehehe, tolong ya Om Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.