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

comment_85366
21 minutes ago, Dammah Sifla said:

maksudnya panggilan suara om, untuk apa om.. tetap aja nggak bsa ngomong 😅
untuk api hadist cek halaman sebelumnya om, udah ada share file nya kok sebagai webhook..

21 minutes ago, Dammah Sifla said:

maksudnya panggilan suara om, untuk apa om.. tetap aja nggak bsa ngomong 😅
untuk api hadist cek halaman sebelumnya om, udah ada share file nya kok sebagai webhook..

Sebagai alarm waktu subuh Master 😁😁😁

comment_85472
On 12/8/2024 at 12:34 AM, MarCoVar01 said:

I am having the same problem with node.js, after a long time everything worked normally, do you know why the problem is and what the solution is?

try restart the nodejs, check nodejs pid file
or try to use another port

On 12/8/2024 at 9:28 AM, dewanoo said:

same issue i face still not resolve this issue why this happend

try to use another port, check whether the specification is meet

On 12/7/2024 at 7:48 PM, badas said:

Om, bisa tolong dibagi .htaccess untuk webserver nginx
Jadi gak bisa instal setelah pindah ke nginx

listen xxxxxx (sesuaikan dengan port, http 80, https 443);
listen [::];

server_name sesuaikandomain; # change this for your server

root /var/www/sesuaikanrootfolder/public;

index index.php index.html index.nginx-debian.html;

server_tokens off;

location / {
try_files $uri $uri/ /index.php?$args;

location ~ /public/ {

rewrite ^(.*)$ /public/$1 break;

}

location ~* "/\.(htaccess|htpasswd)$" {

deny all;

return 404;

}

comment_85509
4 hours ago, justintimb said:

Guys anyone yet figured out the solution to Sending Media FILE ?? I’m getting the following error when Trying to send the Test message and when trying to send the Media Campaign it gets failed.

Screenshot 2024-12-11 015638.png

Screenshot 2024-12-11 020422.png

run:

yoursite.com/storage-link

if it throws error, then enter below manually in terminal

ln -s /path/to/your/mpwa/storage/app/public /path/to/your/mpwa/public/storage

comment_85510
On 12/8/2024 at 7:29 PM, Solusi Legalitas said:

Master @Magd Almuntaser bisakah Api WhatsApp mengirimkan panggilan?

& Adakah rekomendasi api hadits untuk diterapkan di mpwa?

Terimakasih

kemungkinan tidak bisa, karena library baileys yang dipakai MPWA tidak ada / belum support membuat panggilan.

Namun, beberapa hal yang mungkin dilakukan terkait dengan panggilan di WhatsApp menggunakan Baileys adalah:

  1. Mendeteksi Status Panggilan
    Baileys dapat menerima pembaruan notifikasi terkait status panggilan WhatsApp. Misalnya, jika seseorang menelepon Anda di WhatsApp, library dapat mendeteksi notifikasi tersebut sebagai bagian dari event update.

  2. Mengelola Notifikasi Panggilan
    Baileys mungkin bisa mengidentifikasi dan memproses notifikasi panggilan masuk. Namun, tidak bisa menjawab panggilan atau membuat panggilan.

Kemampuan ini terbatas karena Baileys beroperasi pada protokol WhatsApp Web, yang tidak mendukung panggilan suara atau video. Jika Anda memerlukan fungsi panggilan, Anda harus menggunakan perangkat resmi atau aplikasi asli WhatsApp.

comment_85513
1 hour ago, DikaNura said:

kemungkinan tidak bisa, karena library baileys yang dipakai MPWA tidak ada / belum support membuat panggilan.

Namun, beberapa hal yang mungkin dilakukan terkait dengan panggilan di WhatsApp menggunakan Baileys adalah:

  1. Mendeteksi Status Panggilan
    Baileys dapat menerima pembaruan notifikasi terkait status panggilan WhatsApp. Misalnya, jika seseorang menelepon Anda di WhatsApp, library dapat mendeteksi notifikasi tersebut sebagai bagian dari event update.

  2. Mengelola Notifikasi Panggilan
    Baileys mungkin bisa mengidentifikasi dan memproses notifikasi panggilan masuk. Namun, tidak bisa menjawab panggilan atau membuat panggilan.

Kemampuan ini terbatas karena Baileys beroperasi pada protokol WhatsApp Web, yang tidak mendukung panggilan suara atau video. Jika Anda memerlukan fungsi panggilan, Anda harus menggunakan perangkat resmi atau aplikasi asli WhatsApp.

Ok terimakasih

comment_85521
22 hours ago, adhiete said:

try restart the nodejs, check nodejs pid file
or try to use another port

try to use another port, check whether the specification is meet

listen xxxxxx (sesuaikan dengan port, http 80, https 443);
listen [::];

server_name sesuaikandomain; # change this for your server

root /var/www/sesuaikanrootfolder/public;

index index.php index.html index.nginx-debian.html;

server_tokens off;

location / {
try_files $uri $uri/ /index.php?$args;

location ~ /public/ {

rewrite ^(.*)$ /public/$1 break;

}

location ~* "/\.(htaccess|htpasswd)$" {

deny all;

return 404;

}

Udah bisa om, saya coba-coba url rewrite.
thank for your reply.

Edited by badas

comment_85555

Tailing last 15 lines for [server] process (change the value with --lines option) /root/.pm2/logs/server-out.log last 15 lines: /root/.pm2/logs/server-error.log last 15 lines: 0|server | Error: Cannot find module '/www/wwwroot//node_modules/@whiskeysockets/baileys/lib/index.js'. Please verify that the package.json has a valid "main" entry 0|server | at tryPackage (node:internal/modules/cjs/loader:400:19) 0|server | at Module._findPath (node:internal/modules/cjs/loader:613:18) 0|server | at Module._resolveFilename (node:internal/modules/cjs/loader:981:27) 0|server | at Hook._require.Module.require (/www/server/nodejs/v20.15.1/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) 0|server | at require (node:internal/modules/cjs/helpers:103:18) 0|server | at Object.<anonymous> (/www/wwwroot/server/whatsapp.js:9:5) 0|server | at Module._compile (node:internal/modules/cjs/loader:1159:14) 0|server | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) 0|server | at Module.load (node:internal/modules/cjs/loader:1037:32) 0|server | at Module._load (node:internal/modules/cjs/loader:878:12) { 0|server | code: 'MODULE_NOT_FOUND', 0|server | path: '/www/wwwroot/node_modules/@whiskeysockets/baileys/package.json', 0|server | requestPath: '@whiskeysockets/baileys' 0|server | }

please fix this, karena ini yang bikin stopped


dan sudah difix untuk command yarn add @whiskeysockets/baileys untuk fix diatas

Edited by Rivai

comment_85629

Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,

image.png

and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.

image.png.51c2879602ee36e490f4e348e6654d44.png

When the reality is, the device is already Disconnected.

image.png

Is that bug or its indeed the feature works like that? @Magd Almuntaser

Edited by DikaNura

comment_85634
1 hour ago, DikaNura said:

Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,

image.png

and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.

image.png.51c2879602ee36e490f4e348e6654d44.png

When the reality is, the device is already Disconnected.

image.png

Is that bug or its indeed the feature works like that? @Magd Almuntaser

I Able to fix this issue.
The issue is the device status is stored in Laravel Cache, we need to run php artisan cache:clear to able use Endpoint generate-qr again.
image.png

The solution is, we need to add cache clearing function. Use Cache::forget in your logoutDevice method to target the specific cache entry and ensure the changes reflect immediately.
Also, I add some other improvement.

image.png

This is the code that I use

public function logoutDevice(Request $request)
    {
        $device = Device::whereBody($request->sender)->first();
    
        // If the device doesn't exist, return an error response.
        if (!$device) {
            return response()->json(['status' => false, 'message' => __('Device not found')]);
        }
    
        if ($device->status != 'Connected') {
            return response()->json(['status' => true, 'message' => __('Connection closed. You are logged out.')]);
        }
    
        $whatsappService = new WhatsappServiceImpl();
        try {
            $respon = $whatsappService->logoutDevice($device->body);
    
            // Remove the cached device entry to prevent stale data issues.
            Cache::forget(CacheKey::DEVICE_BY_BODY . $request->sender);
    
            return $respon;
        } catch (\Throwable $th) {
            return response()->json(['status' => false, 'message' => __('WhatsApp server unable to reach')]);
        }
    }

@Magd Almuntaser

Edited by DikaNura

  • Author
comment_85635
2 hours ago, DikaNura said:

There’s some mismatching routing endpoint in API Documentation Page.

Where in Documentation page endpoint of Device Info, it says info-device

When in the real routing endpoint, it should be info-devices

It causes 404 when you do the endpoint from Documentation Page.

Maybe you need to correct this on next release @Magd Almuntaser

Screenshot_13.png

Screenshot_14.png


It has already been fixed in version 9.0.0..

The problem is only in the mpwa theme but in eres and erescompact you will find them correctly

2 hours ago, DikaNura said:

Also, the next thing i found is, when i delete / disconnect devices using API Endpoint logout-device,

image.png

and trying to reconnect again using API Generate QR generate-qr, using the same number, it said that Device already connected.

image.png.51c2879602ee36e490f4e348e6654d44.png

When the reality is, the device is already Disconnected.

image.png

Is that bug or its indeed the feature works like that? @Magd Almuntaser


It will be fixed in version 9.0.0.

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 0

  • No registered users viewing this page.

Latest Updated Files