Jump to content
Posted
  • Popular Post
comment_35854

Whatsapp Gateway | Multi Device


This script has been completely modified and many important features and fixes have been added by @Magd Almuntaser
He is now responsible for the updates of this script and has full intellectual property rights
So no one will violate the terms of use that he has set

Latest Features:
1. WhatsApp Account Connectivity

All types of WhatsApp Accounts to be able to connect with WhatsApp Gateway (Multi Number & Multi Device);
Ease of the WhatsApp Account connectivity process with a QRcode Scan or with an Authentication Code directly from your device.

2. Message

Availability of various types of (text messages, media, polls, lists, locations, VCard) can easily be used by you;
You can send mass messages for your marketing campaign activities, promotions or business programs easily and on a scheduled basis;
Setup automatic message replies with more natural (alami) and selected keywords for operational optimization of use;
Manage sent message history with automatic and scheduled deletions.

4. Integration

You can easily integrate your WhatsApp Account with various (AI) artificial intelligence services, namely ChatGPT, DALL-E, Gemini, and Cloude with API authentication codes only;
You can easily activate Ai for Single or Multiple use on your WhatsApp Account;
You can easily select Ai in your WhatsApp messages for WhatsApp Group, Private, or Both types;
You can easily setup call rejection automatically if there is a (Call) call and provide a specific response or information;
Setup your WhatsApp and Ai accounts more naturally (alami) with "Already read" status";
Setup your WhatsApp and Ai accounts more naturally (natural) with the status "Typing...".
You can easily integrate and communicate your services with the Webhook mechanism of WhatsApp Gateway | Multi Device.

5. Application Settings

Nowadays you can easily and quickly carry out the process of setting up the WhatsApp Gateway | Multi Device* application by Magd Almuntaser with the settings panel;
You can easily set up applications based on server ecosystem, smtp, etc quickly;
Multi language support (english, Indonesian, Indian, Spanish and Arabic) for easy use.

6. Developer Options

Currently WhatsApp Gateway | Multi Device* by Magd Almuntaser has provided various API services for your easy development consisting of:
        1). Send Message API
        2). Send Media API
        3). Send Poll API
        4). API Send Button
        5). Send API Templates
        6). Send List message API
        7). Send Location API
        8). Send VCard API
        9). Generate QR API
        10). Disconnect devices
        11). Create User API
        12). User Info API
        13). Device Info API
        14). Check Number API
        15). Webhook Example

Ease of setup and availability of the (API Key) API Key for authentication and authorization of your development process.

7. Security

Currently there is a 2 factor authentication (2FA) service available to maintain the security and comfort of application access;
A password reset service is available if you forget your account login information.


Coming Soon:

1. Landing page for Software as Service services (Subscription Services);
2. Payment gateway page management (QRIS, BCA virtual account, PayPal, Stripe);
3. Added user account management;
4. (ticket) obstacle reporting service for users and managers;
.. And many more.


 

  • Replies 4.1k
  • Views 248k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Magd Almuntaser
    Magd Almuntaser

    What's new in version 9.0.0 so far: - Added landing page (welcome page). - Added plans system. - Added cronjob page. - Added Multi-Keyword in autoreply. - Added send message with footer. -

  • Magd Almuntaser
    Magd Almuntaser

    This version will not be released soon, because there are many people who violate rights without permission.. I told everyone to use the script for free, but if you want to sell the version or redev

  • Magd Almuntaser
    Magd Almuntaser

    Today the version will be released, and this is what's new in version 8.5.0: - Added send sticker feature. - Added wysiwyg whatsapp (text editing tools). - Added location, vcard, sticker in camp

Posted Images

Featured Replies

comment_78272
5 minutes ago, badas said:

Baru saja update ke versi 8.5.0, update lancar.
Dapat bug ketika campaign pakai theme snacked admin tidak bisa

Setelah switch ke dua thema lainnya berjalan normal.
Nunggu apakah nanti nodejs akan idle/stop seperti sebelumnya.
Terima kasih master @Magd Almuntaser

Screenshot 2024-09-16 121238.png

Punyaku sudah 7 jam aman ini no idle lagi. Tidak pake cron job dll.

Sepertinya memang theme snacked akan dihapus di versi 9 nantinya. Karena akan merepotkan mengedit 3 theme setiap versi.

semoga masuk list fix di versi 8.5.1 

comment_78273
2 minutes ago, Unicode said:

Punyaku sudah 7 jam aman ini no idle lagi. Tidak pake cron job dll.

Sepertinya memang theme snacked akan dihapus di versi 9 nantinya. Karena akan merepotkan mengedit 3 theme setiap versi.

semoga masuk list fix di versi 8.5.1 

Semoga aman mas bro

comment_78275
Just now, agus amin said:

AI dan tombol di menu Auto Replay jalan om? Tempat saya gk jalan

Jalan. Tadi aku sempat gitu, di nomer 1 gk jalan tapi di nomer 2 -3 jalan.

coba aja logout nomernya lalu scan ulang biar jalan. 

comment_78286

Cari code tersebut di whatsapp.js
 

sock[token].ev.on('connection.update', async (update) => {

 

lalu rubah code tersebut sampai code

    }
});

 

ke code ini
 

sock[token].ev.on('connection.update', async (update) => {
    const { connection, lastDisconnect, qr } = update;

    if (qr) {
        try {
            const url = await QRCode.toDataURL(qr);
            qrcode[token] = url;
            socket?.emit('qrcode', { token, data: url, message: 'Scan this QR code with your WhatsApp' });
        } catch (err) {
            console.error('QR Code generation failed:', err);
        }
    }

    if (connection === 'close') {
        const disconnectError = lastDisconnect?.error;

        if (disconnectError instanceof Boom && 
           (disconnectError.output.statusCode === 403 || disconnectError.output.statusCode === 428)) {
            setStatus(token, 'Disconnect');
            console.log(`Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.`);
            socket?.emit('message', { token, message: `Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.` });
            await clearConnection(token);
            clearInterval(reconnectInterval);
            reconnectInterval = null;
        } else {
            const shouldReconnect = disconnectError instanceof Boom && disconnectError.output.statusCode !== DisconnectReason.loggedOut;
            console.log('Connection closed due to', lastDisconnect?.error, 'Reconnecting:', shouldReconnect);

            if (shouldReconnect) {
                if (!reconnectInterval) {
                    reconnectInterval = setInterval(() => attemptConnection(), 10000);
                }
            } else {
                setStatus(token, 'Disconnect');
                console.log('Connection closed. You are logged out.');
                socket?.emit('message', { token, message: 'Connection closed. You are logged out.' });
                await clearConnection(token);
                clearInterval(reconnectInterval);
                reconnectInterval = null;
            }
        }
    } else if (connection === 'open') {
        setStatus(token, 'Connected');
        console.log('Connected successfully!');
        const userId = `${sock[token].user.id.split(':')[0]}@s.whatsapp.net`;
        const ppUrl = await getPpUrl(token, userId);
        socket?.emit('connection-open', { token, user: sock[token].user, ppUrl });
        delete qrcode[token];
        delete pairingCode[token];
        clearInterval(reconnectInterval);
        reconnectInterval = null;
    }
});

menambahkan status Disconnect jika terdapat error 403 dan 428 (itu adalah code error banned/logout mendadak karna app unofficial dari whatsapp)

jika script bawaan dari mamang magd, jika logout atau di banned, status tidak berubah. saya hanya mengubah sedikit, yang disconnect saya barusan ngeblast dan beberapa mokad nomor nya

image.thumb.png.093f5d3cacedbe30c901f888d0dad1bd.png

Edited by Pebrian

comment_78287
16 minutes ago, Pebrian said:

Cari code tersebut di whatsapp.js
 

sock[token].ev.on('connection.update', async (update) => {

 

lalu rubah code tersebut sampai code

    }
});

 

ke code ini
 

sock[token].ev.on('connection.update', async (update) => {
    const { connection, lastDisconnect, qr } = update;

    if (qr) {
        try {
            const url = await QRCode.toDataURL(qr);
            qrcode[token] = url;
            socket?.emit('qrcode', { token, data: url, message: 'Scan this QR code with your WhatsApp' });
        } catch (err) {
            console.error('QR Code generation failed:', err);
        }
    }

    if (connection === 'close') {
        const disconnectError = lastDisconnect?.error;

        if (disconnectError instanceof Boom && 
           (disconnectError.output.statusCode === 403 || disconnectError.output.statusCode === 428)) {
            setStatus(token, 'Disconnect');
            console.log(`Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.`);
            socket?.emit('message', { token, message: `Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.` });
            await clearConnection(token);
            clearInterval(reconnectInterval);
            reconnectInterval = null;
        } else {
            const shouldReconnect = disconnectError instanceof Boom && disconnectError.output.statusCode !== DisconnectReason.loggedOut;
            console.log('Connection closed due to', lastDisconnect?.error, 'Reconnecting:', shouldReconnect);

            if (shouldReconnect) {
                if (!reconnectInterval) {
                    reconnectInterval = setInterval(() => attemptConnection(), 10000);
                }
            } else {
                setStatus(token, 'Disconnect');
                console.log('Connection closed. You are logged out.');
                socket?.emit('message', { token, message: 'Connection closed. You are logged out.' });
                await clearConnection(token);
                clearInterval(reconnectInterval);
                reconnectInterval = null;
            }
        }
    } else if (connection === 'open') {
        setStatus(token, 'Connected');
        console.log('Connected successfully!');
        const userId = `${sock[token].user.id.split(':')[0]}@s.whatsapp.net`;
        const ppUrl = await getPpUrl(token, userId);
        socket?.emit('connection-open', { token, user: sock[token].user, ppUrl });
        delete qrcode[token];
        delete pairingCode[token];
        clearInterval(reconnectInterval);
        reconnectInterval = null;
    }
});

menambahkan status Disconnect jika terdapat error 403 dan 428 (itu adalah code error banned/logout mendadak karna app unofficial dari whatsapp)

jika script bawaan dari mamang magd, jika logout atau di banned, status tidak berubah. saya hanya mengubah sedikit, yang disconnect saya barusan ngeblast dan beberapa mokad nomor nya

image.thumb.png.093f5d3cacedbe30c901f888d0dad1bd.png

Versi 8.50 kah om yang mokad, AI Bot belum jalan, dan menu di Auto Replay belom berfungsi, ada solusi

  • Mahmoud changed the title to Whatsapp Gateway | Multi Device v8.5.1
comment_78299
3 minutes ago, Magd Almuntaser said:

What's New in Version 8.5.1 :

- Fixed sharp library.
-
Fixed autoreply ajax.
-
Fixed campaign (Theme Snacked Admin).

After update 8.5.1
Campaign theme Snacked 
Autoreply 
Thanks mas bro.

comment_78304
5 minutes ago, Magd Almuntaser said:

I forgot to tell you that if you are using cronjob to reconnect to the idle socket, it should be stopped, it is no longer needed
version
8.5.1 will reconnect to itself when disconnected.

in download still 8.05, plz update

comment_78305

image.thumb.png.07d97417d981accd940415dd17cc6d19.png

image.png.f9d409352533df4b567bc2b0a86f5924.png

 

sudah restart node namun masih seperti ini, QR tidak muncul .

note: menggunakan node 16, ga pakai cronjob sama sekali

btw, untuk .env

APP_DEBUG=true
APP_URL=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss://
WA_URL_SERVER=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss://

Terima kasih 🙏

image.png

Edited by JangE

  • Author
comment_78307
5 minutes ago, l.o.l said:

in download still 8.05, plz update


no it's 8.5.1:
 

https://doniaweb.com/files/file/4872-whatsapp-gateway-multi-device/


 

5 minutes ago, JangE said:

image.thumb.png.07d97417d981accd940415dd17cc6d19.png

image.png.f9d409352533df4b567bc2b0a86f5924.png

 

sudah restart node namun masih seperti ini, QR tidak muncul .

note: menggunakan node 16, ga pakai cronjob sama sekali

btw, untuk .env

APP_DEBUG=true
APP_URL=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss://
WA_URL_SERVER=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss://

Terima kasih 🙏

image.png


Node 16 sudah tidak didukung lagi di versi ini. Anda harus menginstal Node 18 atau 20 ke atas.
===========
Node 16 is no longer supported in this version.. You must install 18 or 20 and above.

comment_78309
10 minutes ago, Magd Almuntaser said:


no it's 8.5.1:
 

https://doniaweb.com/files/file/4872-whatsapp-gateway-multi-device/


 


Node 16 sudah tidak didukung lagi di versi ini. Anda harus menginstal Node 18 atau 20 ke atas.
===========
Node 16 is no longer supported in this version.. You must install 18 or 20 and above.

dear tuan, saya sudah ganti / mencoba  node 16 ke atas, mode develope dan production. tetap QR tidak muncul. keadaan masih sama 
Regards 

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

Recently Browsing 2

Latest Updated Files