Jump to content

Recommended Posts

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 by Enno The Explorer
  • Like 1
  • Haha 1
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?

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.. image.thumb.png.dd5022c9db4f769d9ed58f8d437b263f.png

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 by kecoamumet
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 😆

@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. 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...