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 248.5k
  • 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_74793
19 hours ago, Magd Almuntaser said:

Are you running the node through pm2 or directly from the node?
If you have terminal or ssh, can you type this command and make a screenshot:

top

 

Does your node use SSL?
Which control panel do you use, cpanel or aapanel?
Are you running the node through pm2 or directly from the node?

I had debuging for resource issue on my server (aaPanel v 7.0.7) and this issue on my case and recomendation to solved.
---
1. Issue: Resource CPU 100% on MPWA v.7.0.0.5
- It happend couse PM2 on V.7.0.0.5. This PM2 will eat your resource allot.

2. Recomendation:
a. You need change the server.js with v.7.0.0.4 or v.7.0.0.2 (in my case change to v.7.0.0.4)
b. Before you change the server.js on your path/folder, you must stop the all service Node JS and PM2 if running
c. In my case, i use "ps aux | grep node" for find the node running (Terminal)
d. Find the parent process of a Node.js process with "pstree -p (you PID)"
e. Kill the proses: "sudo pkill -u www or sudo pkill node"
f.  Update NPM (optional, but in case all NPM must be update) from your terminal
g. Composer Update (optional, but in case all NPM must be update) from your terminal
h. Start your node project on aaPanel:
image.thumb.png.46a392517ef6fb4f152b34925a5c325d.png
i. See the LOG Node and See the Apps MPWA on Setting Server "Port (3100) Is Connected Your site is working properly"

Note:
1. Using PM2 is optional (from my case), couse its had already running on node. If you want to running PM2, your resources will rise again, make sure you have enaugh resource for running PM2.

I hope this will help with setup on aaPanel. Thanks.

  • Author
comment_74796
19 minutes ago, The Billionaire said:

@Gusik Prasetyo @Magd Almuntaser 


image.png.17ee5d09de3c69d485f948ff0b93478e.png

that is the error I get, so I try to manually migrate I get Nothing to migrate

You can download the full version 7.0.0.5. Do not extract it on your site; instead, open it on your PC, delete the .env file, then upload it to your site and extract it.

After that, run the migration.

This will update the version without the need to reinstall.

Be careful with server.js as it has pm2, which can be a big problem. It takes up a lot of resources from your server. You can see my post on page number 72 with the new server.js version that doesn't use pm2; you can use it instead.

Today, I will release update 7.0.0.6, which only includes changes to server.js and some new features. This update is very important.

comment_74797
2 minutes ago, Magd Almuntaser said:

You can download the full version 7.0.0.5. Do not extract it on your site; instead, open it on your PC, delete the .env file, then upload it to your site and extract it.

After that, run the migration.

This will update the version without the need to reinstall.

Be careful with server.js as it has pm2, which can be a big problem. It takes up a lot of resources from your server. You can see my post on page number 72 with the new server.js version that doesn't use pm2; you can use it instead.

Today, I will release update 7.0.0.6, which only includes changes to server.js and some new features. This update is very important.

am using CPanel in a shared host server

 

comment_74798
10 minutes ago, Magd Almuntaser said:

Anda dapat mengunduh versi lengkap 7.0.0.5. Jangan mengekstraknya di situs Anda; sebaliknya, buka di PC Anda, hapus file .env, lalu unggah ke situs Anda dan ekstrak.

Setelah itu, jalankan migrasi.

Ini akan memperbarui versi tanpa perlu menginstal ulang.

Berhati-hatilah dengan server.js karena memiliki pm2, yang dapat menjadi masalah besar. Ia menghabiskan banyak sumber daya dari server Anda. Anda dapat melihat posting saya di halaman nomor 72 dengan versi server.js baru yang tidak menggunakan pm2; Anda dapat menggunakannya sebagai gantinya.

Hari ini, saya akan merilis pembaruan 7.0.0.6, yang hanya mencakup perubahan pada server.js dan beberapa fitur baru. Pembaruan ini sangat penting.

Menunggu update

comment_74802
1 hour ago, MURASAKI. said:

I had debuging for resource issue on my server (aaPanel v 7.0.7) and this issue on my case and recomendation to solved.
---
1. Issue: Resource CPU 100% on MPWA v.7.0.0.5
- It happend couse PM2 on V.7.0.0.5. This PM2 will eat your resource allot.

2. Recomendation:
a. You need change the server.js with v.7.0.0.4 or v.7.0.0.2 (in my case change to v.7.0.0.4)
b. Before you change the server.js on your path/folder, you must stop the all service Node JS and PM2 if running
c. In my case, i use "ps aux | grep node" for find the node running (Terminal)
d. Find the parent process of a Node.js process with "pstree -p (you PID)"
e. Kill the proses: "sudo pkill -u www or sudo pkill node"
f.  Update NPM (optional, but in case all NPM must be update) from your terminal
g. Composer Update (optional, but in case all NPM must be update) from your terminal
h. Start your node project on aaPanel:
image.thumb.png.46a392517ef6fb4f152b34925a5c325d.png
i. See the LOG Node and See the Apps MPWA on Setting Server "Port (3100) Is Connected Your site is working properly"

Note:
1. Using PM2 is optional (from my case), couse its had already running on node. If you want to running PM2, your resources will rise again, make sure you have enaugh resource for running PM2.

I hope this will help with setup on aaPanel. Thanks.

thanks very helpfull

comment_74813

Help

Node.js v20.14.0

/home3/ojiapmyid/ojiap.my.id/server.js:25

{{{SSL}}}

   ^

 

ReferenceError: SSL is not defined

    at Object.<anonymous> (/home3/ojiapmyid/ojiap.my.id/server.js:25:4)

    at Module._compile (node:internal/modules/cjs/loader:1358:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)

    at Module.load (node:internal/modules/cjs/loader:1208:32)

    at Module._load (node:internal/modules/cjs/loader:1024:12)

    at Module.require (node:internal/modules/cjs/loader:1233:19)

    at require (node:internal/modules/helpers:179:18)

    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)

    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)

    at Module._compile (node:internal/modules/cjs/

loader:1358:14)

  • Author
comment_74815
17 minutes ago, Avina Kefin said:

Help

Node.js v20.14.0

/home3/ojiapmyid/ojiap.my.id/server.js:25

{{{SSL}}}

   ^

 

ReferenceError: SSL is not defined

    at Object.<anonymous> (/home3/ojiapmyid/ojiap.my.id/server.js:25:4)

    at Module._compile (node:internal/modules/cjs/loader:1358:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)

    at Module.load (node:internal/modules/cjs/loader:1208:32)

    at Module._load (node:internal/modules/cjs/loader:1024:12)

    at Module.require (node:internal/modules/cjs/loader:1233:19)

    at require (node:internal/modules/helpers:179:18)

    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)

    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)

    at Module._compile (node:internal/modules/cjs/

loader:1358:14)

This issue means that the update was interrupted before it was completed. Because this particular file {{SSL}} is supposed to be programmatically replaced automatically for people using Node SSL.
You need to replace the attached file

3 minutes ago, Serpul Cloud said:

🤲 Alhamdulillah Webhook berjalan dengan baik lancar, kecuali saat memasukan database seperti username, email reaksi menjadi null

Bener2 dah laravel 😰

Screenshot_20240813-195938.jpg

Bagaimana kamu mencoba mengambil API key dan email? Tidak ada opsi di webhook untuk menampilkan email atau API key!! Masalahnya ada pada cara kamu memprogram untuk mengambil data dari database.

server.js

comment_74817
1 hour ago, Magd Almuntaser said:

This issue means that the update was interrupted before it was completed. Because this particular file {{SSL}} is supposed to be programmatically replaced automatically for people using Node SSL.
You need to replace the attached file

Bagaimana kamu mencoba mengambil API key dan email? Tidak ada opsi di webhook untuk menampilkan email atau API key!! Masalahnya ada pada cara kamu memprogram untuk mengambil data dari database.

server.js 3.07 kB · 2 downloads

😰 Ok, terimakasih Master @Magd Almuntaser atas pencerahannya

comment_74884
1 minute ago, Enno The Explorer said:

saya request tuan @Magd Almuntaser agar AInya di sempurnakan

1. User memberikan Pertanyaan dalam bentuk Voice note, dibalas AI dengan Voice note juga

2. AI bisa membaca isi File seperti Doc atau menganalisa Foto

3. AI bisa mengenerate Foto sesuai permintaan 😀

untuk Ai seperti ini kalopun bisa pasti pake chatgpt dan DALE yg versi terbaru serta tentu tidak gratis

comment_74885
14 hours ago, Magd Almuntaser said:

This issue means that the update was interrupted before it was completed. Because this particular file {{SSL}} is supposed to be programmatically replaced automatically for people using Node SSL.
You need to replace the attached file

Bagaimana kamu mencoba mengambil API key dan email? Tidak ada opsi di webhook untuk menampilkan email atau API key!! Masalahnya ada pada cara kamu memprogram untuk mengambil data dari database.

server.js 3.07 kB · 11 downloads

file Server.Js ini setelah saya coba stabil untuk Node.js Versi v16.20.2 atau v16.xx.x

sedangkan untuk V18.xx.x tidak stabil

  • Author
comment_74890
1 hour ago, Enno The Explorer said:

saya request tuan @Magd Almuntaser agar AInya di sempurnakan

1. User memberikan Pertanyaan dalam bentuk Voice note, dibalas AI dengan Voice note juga

2. AI bisa membaca isi File seperti Doc atau menganalisa Foto

3. AI bisa mengenerate Foto sesuai permintaan 😀

1- chatgpt masih dalam tahap percobaan di openAI untuk perekaman suara, tetapi saya tidak keberatan untuk mencobanya.
2- Juga fitur yang membaca gambar dan berkas, saya belum mencobanya, tetapi saya tidak keberatan untuk mencobanya.
3- Fitur ini masih belum tersedia di chatgpt atau gemini. Tetapi tersedia di DALL-E dan juga digunakan di copilot tetapi dengan biaya bulanan, tetapi saya akan menambahkan DALL-E segera

==========================
I was very late on 7.0.0.6 because of a very simple thing, the autoreply edit. In my stupidity, I tried not to modify the autoreply system and just add the edit feature in the same way, but it's a lot of work and I'm still working on it because of the ajax and dealing with it. 🥲

comment_74892
async function sendGemini({
  command,
  senderNumber,
  chatgptKey,
  participantNumber,
}) {
  try {
    const geminiUrl = process.env.GEIMINI_URL;
    const geminiData = {
      contents: [
        {
          parts: [
            { text: `Tolong balas dengan bahasa yang santai: ${command}` }
          ]
        }
      ],
      model_parameters: {
        language: "id-ID" // GANTI KE BAHASA KELEAN
      }
    };
    const headers = {
      'Content-Type': 'application/json'
    };
    
    const response = await axios.post(`${geminiUrl}?key=${chatgptKey}`, geminiData, { headers: headers }).catch(() => {
      return false;
    });

    if (response && response.data && response.data.candidates && response.data.candidates.length > 0) {
      let content = response.data.candidates[0].content.parts[0].text;
      content = content.replace(/["']/g, '');
      let resText = JSON.stringify({ text: content, quoted: false });
      return resText;
    } else {
      return false;
    }
  } catch (error) {
    console.log('error send Gemini', error);
    return false;
  }
}

Gemini lebih santai buat ngebales. udh w coba bahasa nya gak terlalu baku

comment_74893
On 8/12/2024 at 11:02 PM, Magd Almuntaser said:

The file that I put for you is not the same as 7.0.0.5 or 7.0.0.2, it is a file for the new version 7.0.0.6, which does not have pm2 and does not take up any server resources.
Anyway, you can use whatever you see fit.

Hey can I get the link to the 7.0.0.5 or 7.0.0.6?

I will replace the server.js with the 7.0.0.4 version or whatever you have stable.

Thanking you in advance!

comment_74895
36 minutes ago, Pebrian said:
async function sendGemini({
  command,
  senderNumber,
  chatgptKey,
  participantNumber,
}) {
  try {
    const geminiUrl = process.env.GEIMINI_URL;
    const geminiData = {
      contents: [
        {
          parts: [
            { text: `Tolong balas dengan bahasa yang santai: ${command}` }
          ]
        }
      ],
      model_parameters: {
        language: "id-ID" // GANTI KE BAHASA KELEAN
      }
    };
    const headers = {
      'Content-Type': 'application/json'
    };
    
    const response = await axios.post(`${geminiUrl}?key=${chatgptKey}`, geminiData, { headers: headers }).catch(() => {
      return false;
    });

    if (response && response.data && response.data.candidates && response.data.candidates.length > 0) {
      let content = response.data.candidates[0].content.parts[0].text;
      content = content.replace(/["']/g, '');
      let resText = JSON.stringify({ text: content, quoted: false });
      return resText;
    } else {
      return false;
    }
  } catch (error) {
    console.log('error send Gemini', error);
    return false;
  }
}

Gemini lebih santai buat ngebales. udh w coba bahasa nya gak terlalu baku

Naruhnya dimana?

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 1

Latest Updated Files