Magd Almuntaser Posted September 3 Author Posted September 3 In short: The codes you are using in Google AppsScript are wrong and the problem is not with the webhook. Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Enno The Explorer Posted September 3 Posted September 3 (edited) 46 minutes ago, Magd Almuntaser said: Yes, my webhook works because it deals with the response from the webhook link should be in this form: {status: success, message: hello, qouted: false} But you are using the google appscript to send an api message to your number .. and not by responding in this form: {status: success, message: hello, qouted: false} Do you understand? I will try to explain to you more .. When you use the correct webhook, this is what the webhook looks like from the inside: <?php require 'ExampleManualMessage.php'; header('content-type: application/json; charset=utf-8'); $data = json_decode(file_get_contents('php://input'), true); if (!$data) { die('this url is for webhook.'); } $message = strtolower($data['message']); $from = strtolower($data['from']); $bufferimage = isset($data['bufferImage']) ? $data['bufferImage'] : null; $respon = false; // for text message if ($message == 'good') { $respon = FormatMessage::text('Hello, how are you ali?', true); } echo $respon; But you are using the google appscript when you send a message, it responds not via the webhook, it responds via the api to another number .. You are using the api, it has nothing to do with the webhook, do you understand? You are dealing with the api in google apps script to send an external message to your number.. and you are not dealing with the webhook baiklah sekarang saya sudah mengerti perbedaanya.. trima kasih penjelasnnya Mr Magd..You Are The Best Reset Password : Success ********************************************** File Manager : Success ********************************************** Export Phonebook : Error (Masih dalam Perbaikan) ********************************************** Campaign Snacked Admin (Theme) : Succes Campaign Eres & Eres Compact (Theme) : Error (Masih dalam Perbaikan) ********************************************** Text Message : Success Media Message : Success Poll Message : Success List Message : Error (Masih dalam investigasi) Location Message : Success Vcard Message : Success ********************************************** Automatically delete message history : Success ********************************************** Auto Replay Message (All Function): Success ********************************************** Api Test Message (All Function) : Success ********************************************** AI BOT One Bot (All Function): Success AI BOT Multi Bot (All Function): Error (Masih dalam investigasi) ********************************************** Webhook (All Function): Success ********************************************** Mpwa v8.0.0 Node.js v20 Cronjob : None 03/09/2024 - 04/09/2024 Mulai Jam : 08.49 Berhenti Jam : 15.15 (Masi Online sampai pesan ini di post) Durasi : +- 6 Jam Edited September 3 by Enno The Explorer 1 1 Quote
Putra Pertama Posted September 3 Posted September 3 18 minutes ago, Enno The Explorer said: baiklah sekarang saya sudah mengerti perbedaanya.. trima kasih penjelasnnya Mr Magd..You Are The Best Reset Password : Success ********************************************** File Manager : Success ********************************************** Campaign Snacked Admin (Theme) : Campaign Eres & Eres Compact (Theme) : (Masih dalam Perbaikan) ********************************************** Text Message : Normal Media Message : Normal Poll Message : Normal List Message : Error (Masih dalam investigasi) Location Message :Normal Vcard Message :Normal ********************************************** Automatically delete message history : Success ********************************************** Auto Replay Message (All Function): Normal ********************************************** Api Test Message (All Function) : Normal ********************************************** AI BOT One Bot (All Function): Normal AI BOT Multi Bot (All Function): Error (Masih dalam investigasi) ********************************************** Webhook (All Function): Normal ********************************************** Mpwa v8.0.0 Node.js v20 Cronjob : None 03/09/2024 - 04/09/2024 Mulai Jam : 08.49 Berhenti Jam : 15.15 (Masi Online sampai pesan ini di post) Durasi : +- 6 Jam export phonebook error ya? Quote
Magd Almuntaser Posted September 3 Author Posted September 3 3 minutes ago, Putra Pertama said: export phonebook error ya? yes export phone not working becouse i'm still working on it .. It doesn't work from the first release because it's incomplete. I will try to finish it in the next version. 1 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Gusik Prasetyo Posted September 3 Posted September 3 5 hours ago, pak kacung said: maksud saya, bagaimana membuat reminder bot random ayat seperti screenshot d atas pak Quote
kecoamumet Posted September 3 Posted September 3 (edited) 6 hours ago, Jei Grey said: kenapa jawaban Bot Ai Gemini saya selalu double. setelah jawab sesuai pertanyaan. setelah itu ada chat yang seperti di SS.. sama, punyaku juga dobel balas si ai gemininya. balik dulu deh ke 708 edited: solved, ternyata node yang lama masih jalan, jadi si bot masih in service di nodejs yang 708. Edited September 3 by kecoamumet Quote
Gusik Prasetyo Posted September 3 Posted September 3 1 hour ago, Enno The Explorer said: baiklah sekarang saya sudah mengerti perbedaanya.. trima kasih penjelasnnya Mr Magd..You Are The Best Reset Password : Success ********************************************** File Manager : Success ********************************************** Export Phonebook : Error (Masih dalam Perbaikan) ********************************************** Campaign Snacked Admin (Theme) : Succes Campaign Eres & Eres Compact (Theme) : Error (Masih dalam Perbaikan) ********************************************** Text Message : Success Media Message : Success Poll Message : Success List Message : Error (Masih dalam investigasi) Location Message : Success Vcard Message : Success ********************************************** Automatically delete message history : Success ********************************************** Auto Replay Message (All Function): Success ********************************************** Api Test Message (All Function) : Success ********************************************** AI BOT One Bot (All Function): Success AI BOT Multi Bot (All Function): Error (Masih dalam investigasi) ********************************************** Webhook (All Function): Success ********************************************** Mpwa v8.0.0 Node.js v20 Cronjob : None 03/09/2024 - 04/09/2024 Mulai Jam : 08.49 Berhenti Jam : 15.15 (Masi Online sampai pesan ini di post) Durasi : +- 6 Jam AI BOT one bot malah error AI BOT multi bot success kebalikan kita mas Quote
Unicode Posted September 3 Posted September 3 1 minute ago, Gusik Prasetyo said: AI BOT one bot malah error AI BOT multi bot success kebalikan kita mas lah punyaku yg multibot error, one bot sukses. di one bot tema mpwa jadi ada form untuk panggilan bot ai tapi tidak berfungsi Quote
Gusik Prasetyo Posted September 3 Posted September 3 1 minute ago, Unicode said: lah punyaku yg multibot error, one bot sukses. di one bot tema mpwa jadi ada form untuk panggilan bot ai tapi tidak berfungsi lah, yang lain multi bot error. d sini lancar. yg error one bot. bisa jadi yang error bukan bot nya tapi jenis hostingnya? @Magd Almuntaser Quote
pak kacung Posted September 3 Posted September 3 14 minutes ago, Gusik Prasetyo said: maksud saya, bagaimana membuat reminder bot random ayat seperti screenshot d atas pak Pakai api quran dan spreadsheet tuan Quote
Unicode Posted September 3 Posted September 3 @Gusik Prasetyo btw pake node js versi berapa mas? punyaku kok putus2 terus haduhh pusing Quote
Gusik Prasetyo Posted September 3 Posted September 3 1 minute ago, pak kacung said: Pakai api quran dan spreadsheet tuan api quran dapat dari mana pak? spreadsheednya apakah ada formatya? apakah ada tutorial? 2 minutes ago, Unicode said: @Gusik Prasetyo btw pake node js versi berapa mas? punyaku kok putus2 terus haduhh pusing saya pakai node 20 mas. saya baru nyoba belum ada 1 jam, jadi belum tau putus2 ato tidak mas. Quote
Unicode Posted September 3 Posted September 3 @Magd Almuntaser I also not understand lol. i am confused with my Mpwa always disconnect after 15 minutes after connect. so, webhook sometimes responding and not. 8 minutes ago, Gusik Prasetyo said: api quran dapat dari mana pak? spreadsheednya apakah ada formatya? apakah ada tutorial? saya pakai node 20 mas. saya baru nyoba belum ada 1 jam, jadi belum tau putus2 ato tidak mas. punyaku aneh mas, setiap berapa menit putus. Quote
Gusik Prasetyo Posted September 3 Posted September 3 6 minutes ago, Unicode said: @Magd Almuntaser I also not understand lol. i am confused with my Mpwa always disconnect after 15 minutes after connect. so, webhook sometimes responding and not. punyaku aneh mas, setiap berapa menit putus. apakah sudah pakai cronjob yang d sarankan mas? punyaku masih lancar di menit 30 Quote
Unicode Posted September 3 Posted September 3 2 minutes ago, Gusik Prasetyo said: apakah sudah pakai cronjob yang d sarankan mas? punyaku masih lancar di menit 30 Sudah mas. Quote
Gusik Prasetyo Posted September 3 Posted September 3 4 minutes ago, Unicode said: Sudah mas. coba d turunkan nodenya jadi 19 mas. d otak atik d versi nodejd nya Quote
Gusik Prasetyo Posted September 3 Posted September 3 4 minutes ago, Unicode said: Sudah mas. coba d turunkan nodenya jadi 19 mas. d otak atik d versi nodejd nya Quote
Gusik Prasetyo Posted September 3 Posted September 3 4 minutes ago, Unicode said: Sudah mas. coba d turunkan nodenya jadi 19 mas. d otak atik d versi nodejd nya Quote
Magd Almuntaser Posted September 3 Author Posted September 3 fxi multibot .. replace server/controller incomingMessage.js 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
agus amin Posted September 3 Posted September 3 Hallo semua, lama tidak singgah dah rame aja, apa yang terbaru ini yak Quote
Enno The Explorer Posted September 3 Posted September 3 46 minutes ago, pak kacung said: Pakai api quran dan spreadsheet tuan Saya tertarik dengan spreadsheet Alquran ini..semoga klo dishare disini bisa jadi Amal Jariyah mas Quote
Unicode Posted September 3 Posted September 3 22 minutes ago, Magd Almuntaser said: fxi multibot .. replace server/controller incomingMessage.js 16.78 kB · 1 download Ok sir thanks Quote
Magd Almuntaser Posted September 3 Author Posted September 3 11 minutes ago, Enno The Explorer said: Saya tertarik dengan spreadsheet Alquran ini..semoga klo dishare disini bisa jadi Amal Jariyah mas Ok I will make a webhook random message from the Quran for all of you.. I will put it up today.. 2 2 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Ade Prastia Posted September 3 Posted September 3 3 minutes ago, Magd Almuntaser said: Ok I will make a webhook random message from the Quran for all of you.. I will put it up today.. oke mantap, saya suka mendengarkanya dan menantikanya Quote
Enno The Explorer Posted September 3 Posted September 3 5 minutes ago, Magd Almuntaser said: Ok I will make a webhook random message from the Quran for all of you.. I will put it up today.. Mr memang luar biasa... 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.