Jump to content
Bicrypto v4.6.0 + All Plugins
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.


Whatsapp Gateway | Multi Device

  • Replies 4.5k
  • Views 281.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Magd Almuntaser
    Magd Almuntaser

    What's new so far in version 9.0.0: - Added landing page (welcome page). - Added plans system. - Added Manage Languages system. - Added (landing page) edit page. - Added ticket system. - Added cronjob

  • Magd Almuntaser
    Magd Almuntaser

    What's new so far in version 9.0.0: - Added Landing page (Homepage). - Added Plans System. - Added Manage Payment gateways. - Added Manage Languages system. - Added (Homepage) edit page. - Added Ticke

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

Posted Images

Featured Replies

  • Author
comment_72307
1 hour ago, agus amin said:

@Magd Almuntaser Is there a guide to installing on a VPS with Aapanel? I successfully installed on Aapanel without SSL, I want SSL, currently I already have SSL, if there are additional configurations please help

Look i've tried with cpanel and cloudflare ..

But with aapanel i don't try before, so i will try after 2 days because i'm in jakarta now ..

Becouse you need to change some code in script ..

  • Author
comment_72373
On 7/9/2024 at 1:35 PM, pak kacung said:

Webhook saya tidak jalan dengan update dari tuan...apakah ada kawan lain yang mengalami? atau pada saya saja yang bermasalah

Tidak ada masalah dengan webhook pada file saya, Anda harus memastikan bahwa Anda memasukkan jalur yang benar untuk webhook dengan format seperti ini:
http://yoursite/webook/index.php
Anda harus menulis nama file yang diwarnai merah.

23 hours ago, agus amin said:

Sama saya juga demikian bro, send via api juga gagal kirim terus, sebelum update aman

👆

6 hours ago, MUHAMMAD ADIB MUZAKKI said:

@Magd Almuntaser sudah jalankan node pada fitur cpanel, hosting saya menggunakan cpanel bukan aapanel

pastikan port Node.js berfungsi di situs Anda melalui tautan ini:
yougetsignal .com/tools/open-ports
Masukkan tautan situs Anda dan nomor port server WhatsApp 3100. Jika muncul berwarna hijau, itu berarti berfungsi dengan benar. Jika muncul berwarna merah, maka Node.js di situs Anda tidak berfungsi dan Anda harus memastikan untuk menjalankannya dengan benar.

  • Author
comment_72384

How To Run (Whatsapp Gateway Multi Device) Via SSL
(For All Version)

((Cpanel+Cloudflare))

 

In this guide, we will use SSL for cPanel and Cloudflare users only.

1- we need to know that Cloudflare uses these ports exclusively:

443
2053
2083
2087
2096

8443
We will use port 8443 because it is not used by cPanel.

2-  let's assume the script is located at this domain:

https:// magd.com/ws

We will go to Cloudflare and select SSL/TLS -> Overview, then choose Full.

image.thumb.jpeg.27a536c007888bb9469fa03d971a8c28.jpeg

 

3- we will edit the .env file located in the root directory of the script and change these fields to https:// and Port to 8443
 

APP_URL=https://magd .com
WA_URL_SERVER=https://magd .com:8443
PORT_NODE=8443

4- we will login to cPanel, go to SSL/TLS:

image.jpeg.665b2a65a119f62217e5539beaa117ad.jpeg

and then Manage SSL sites:

image.jpeg.e34273c20eb386411ff6dcbe3176d844.jpeg

5- Now we will select Use Certificate for New Site:

image.jpeg.834449444e0a8b069fa6f4da36c9e5dd.jpeg

Two fields will appear. The first is Certificate: (CRT) which we will copy and save in a file named cert.pem. The other is Private Key (KEY) which we will save in a file named key.pem:

image.jpeg.087e3b6d551147b10f973ab1b7ec994b.jpeg

6- We will upload the two files we saved, cert.pem and key.pem, to the root directory of the script. Then, we will edit the server.js file and replace this code from:

/**
 * EXPRESS FOR ROUTING
 */
const express = require("express");
const app = express();
const http = require("http");
const server = http.createServer(app);

To:
 

/**
 * EXPRESS FOR ROUTING
 */
const serverOptions = {
  key: fs.readFileSync('key.pem'),
  cert: fs.readFileSync('cert.pem')
}

const express = require("express");
const app = express();
const https = require("https");
const server = https.createServer(serverOptions, app);

7- And finally, the last step, is to edit the routes/web.php file and add this code at the end of the file:
 

URL::forceScheme('https');

 

Now you can restart Node.js and enjoy using the script over HTTPS
I will later post how to use SSL on the aaPanel control panel. Therefore, if anyone has a website using this panel, please send your site details (PM) so I can use them for the explanation, as I don't currently have aaPanel 🙂

Edited by Magd Almuntaser

comment_72417
20 hours ago, Magd Almuntaser said:

Cara Menjalankan (Whatsapp Gateway Multi Device) Melalui SSL
(Untuk Semua Versi)

((Cpanel+Cloudflare))

 

Dalam panduan ini, kami akan menggunakan SSL untuk pengguna cPanel dan Cloudflare saja .

1- kita perlu tahu bahwa Cloudflare menggunakan port ini secara eksklusif:

443
2053
2083
2087
2096

8443
Kami akan menggunakan port 8443 karena tidak digunakan oleh cPanel.

2-   mari kita asumsikan skrip tersebut terletak di domain ini:



		

Kita akan masuk ke Cloudflare dan pilih SSL/TLS -> Ikhtisar, lalu pilih Penuh.

gambar.thumb.jpeg.27a536c007888bb9469fa03d971a8c28.jpeg

 

3- kita akan mengedit file .env yang terletak di direktori root skrip dan mengubah bidang ini menjadi https:// dan Port menjadi 8443
 

4-  kita akan login ke cPanel, masuk ke SSL/TLS :

gambar.jpeg.665b2a65a119f62217e5539beaa117ad.jpeg

lalu Kelola situs SSL:

gambar.jpeg.e34273c20eb386411ff6dcbe3176d844.jpeg

5- Sekarang kita akan memilih Gunakan Sertifikat untuk Situs Baru :

gambar.jpeg.834449444e0a8b069fa6f4da36c9e5dd.jpeg

Dua kolom akan muncul. Yang pertama adalah Certificate: (CRT) yang akan kita salin dan simpan dalam file bernama cert.pem . Yang kedua adalah Private Key (KEY) yang akan kita simpan dalam file bernama key.pem :

gambar.jpeg.087e3b6d551147b10f973ab1b7ec994b.jpeg

6-  Kita akan mengunggah dua file yang kita simpan, cert.pem  dan key.pem , ke direktori root skrip. Kemudian, kita akan mengedit file server.js dan mengganti kode ini dari:





Ke:
 


 





7- Dan akhirnya, langkah terakhir, adalah mengedit file routes/web.php dan menambahkan kode ini di akhir file:
 

 

Sekarang Anda dapat memulai ulang Node.js dan menikmati penggunaan skrip melalui HTTPS .
Nanti saya akan memposting cara menggunakan SSL di panel kontrol aaPanel . Oleh karena itu, jika ada yang memiliki situs web yang menggunakan panel ini, silakan kirim detail situs Anda (PM) sehingga saya dapat menggunakannya untuk penjelasannya, karena saat ini saya tidak memiliki aaPanel . :)

Ada kelebihan apa tuan dengan cara ini?

  • Author
comment_72452
13 hours ago, pak kacung said:

Ada kelebihan apa tuan dengan cara ini?

Dengan cara ini, koneksi Anda akan aman, dan juga koneksi Anda ke server WhatsApp yang sebenarnya akan melalui WSS yang aman dan kompatibel dengan WhatsApp. Terakhir, ada kesulitan dalam menggunakan situs dengan Cloudflare karena sebagian besar situs menggunakan HTTPS secara default, yaitu (force redirect to https), sehingga akan sulit menjalankan skrip kecuali Anda menonaktifkan fitur ini di situs Anda.

25 minutes ago, agus amin said:

@Magd Almuntaser agar auto konek bagaimana settingnya om, setelah konek, besok pagi diskonek, node js berjalan normal semua, hanya itu saja saat ini masalahnya?

 

You can see my comment on page number 34 about:

npm install pm2@latest -g

Edited by Magd Almuntaser

comment_72513

 

@Magd Almuntaser

please what's is the solution?
This seems to be the cause of the disconnect.

 

/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:137
            .then(() => reject(new boom_1.Boom('Timed Out', {
                               ^

Error: Timed Out
    at /home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:137:32 {
  data: {
    stack: 'Error\n' +
      '    at promiseTimeout (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:132:19)\n' +
      '    at waitForMessage (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:119:53)\n' +
      '    at query (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:141:22)\n' +
      '    at sendPassiveIq (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:331:37)\n' +
      '    at WebSocketClient.<anonymous> (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:515:15)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
  },
  isBoom: true,
  isServer: false,
  output: {
    statusCode: 408,
    payload: {
      statusCode: 408,
      error: 'Request Time-out',
      message: 'Timed Out'
    },
    headers: {}
  }
}

  • Author
comment_72514
38 minutes ago, The Billionaire said:

Tolong apakah ada yang tahu alasan mengapa koneksi terus terputus setelah beberapa hari

Please does anybody know the reason why it keeps disconnecting after some days

If you mean the connection from Node.js is getting disconnected:
I installed PM2.js, and now it's been 7 months without any interruptions, except for two times when I stopped it to update the version.
I tried using (forever.js) before, but it was bad and had many issues. However, PM2.js is very good; it even gives me a link through which I can monitor issues or restart the Node, among other things.

If you mean logging out of WhatsApp:
In the version I have, I haven't been logged out of the session for a long time. This might be because I modified the server.js file to keep WhatsApp always connected. Anyway, I will prepare the latest version of my modifications today and upload it as a complete compressed file with instructions on how to update your version without any issues.

7 minutes ago, Putra Pertama said:

 

@Magd Almuntaser

please what's is the solution?
This seems to be the cause of the disconnect.

 

/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:137
            .then(() => reject(new boom_1.Boom('Timed Out', {
                               ^

Error: Timed Out
    at /home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:137:32 {
  data: {
    stack: 'Error\n' +
      '    at promiseTimeout (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:132:19)\n' +
      '    at waitForMessage (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:119:53)\n' +
      '    at query (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:141:22)\n' +
      '    at sendPassiveIq (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:331:37)\n' +
      '    at WebSocketClient.<anonymous> (/home/bspsun/subdomain/wa.bspsun.com/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:515:15)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
  },
  isBoom: true,
  isServer: false,
  output: {
    statusCode: 408,
    payload: {
      statusCode: 408,
      error: 'Request Time-out',
      message: 'Timed Out'
    },
    headers: {}
  }
}

I think you have an issue with some modules in Node being incompatible due to version differences. Today, I will upload the latest modifications I have in a compressed file, and you can update your version with mine. It works without any issues, and most of the problems you faced have been fixed.

comment_72516
54 minutes ago, Magd Almuntaser said:

If you mean the connection from Node.js is getting disconnected:
I installed PM2.js, and now it's been 7 months without any interruptions, except for two times when I stopped it to update the version.
I tried using (forever.js) before, but it was bad and had many issues. However, PM2.js is very good; it even gives me a link through which I can monitor issues or restart the Node, among other things.

If you mean logging out of WhatsApp:
In the version I have, I haven't been logged out of the session for a long time. This might be because I modified the server.js file to keep WhatsApp always connected. Anyway, I will prepare the latest version of my modifications today and upload it as a complete compressed file with instructions on how to update your version without any issues.

I think you have an issue with some modules in Node being incompatible due to version differences. Today, I will upload the latest modifications I have in a compressed file, and you can update your version with mine. It works without any issues, and most of the problems you faced have been fixed.

Di tunggu bg bundle versi lengkap punya abg, yang sudah ok

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 3

Latest Updated Files