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.2k
  • 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_72172
24 minutes ago, Magd Almuntaser said:

Campaign Delay
(fix for 7.0.0 & 6.5.x & 5.5.0)

Reason: There is error in setting the delay for each message, causing all messages to be sent at once in a batch.
Solution: Remove the min function from the code.


Replace the following code in the app/Console/Commands/StartBlast.php file at line 77 from:

$data = [
	'data' => $blastdata,
	'type' => $campaign->type,
	'delay' => min($campaign->delay, 1),
	'campaign_id' => $campaign->id,
	'sender' => $campaign->device->body,
];


To:

$data = [
	'data' => $blastdata,
	'type' => $campaign->type,
	'delay' => $campaign->delay,
	'campaign_id' => $campaign->id,
	'sender' => $campaign->device->body,
];

 

Dari pada banyak replace scrip alangkah baiknya dijadikan satu faile saja menjadi v7.1 , jadi kita tinggal extrax di hosting/vps

  • Author
comment_72181
1 hour ago, pak kacung said:

Dari pada banyak replace scrip alangkah baiknya dijadikan satu faile saja menjadi v7.1 , jadi kita tinggal extrax di hosting/vps

Saya akan melakukannya nanti, tetapi saya harus terlebih dahulu memposting semua perbaikan di sini karena perbaikan ini tidak hanya untuk satu versi. Ada versi 7.0.0, 6.5.0, dan 5.5.0, dan beberapa orang masih menggunakan versi yang lebih lama.
Jadi, jika saya membuat satu file untuk versi 7.0.0, mereka yang menggunakan versi lama tidak akan mendapatkan manfaatnya.
Juga, saya tidak bisa membuat versi 7.0.1 karena itu bukan pengembangan saya. Pengembang adalah satu-satunya yang mengendalikan penamaan ini. Jadi, jika saya memberikan nomor versi baru, pengembang mungkin merilis versi yang sama, dan perubahan saya akan berbeda dari versinya.

28 minutes ago, Zero828 said:

@Magd Almuntaser sir thanks for your efforts 

 

 

Make  all error fix then share please 🥺 

 

Thanks 

I will do that later, but I must first post all the fixes here since the fixes are not for a single version. There are versions 7.0.0, 6.5.0, and 5.5.0, and some people are still using older versions.
So, if I create a single file for version 7.0.0, those with older versions won't benefit.
And if I consider putting these modifications on GitHub so that others can know the changes made to the files and can download the versions, the developer will not agree and will report my GitHub account because it is a nulled version.

  • Author
comment_72195
1 hour ago, Enno Askrindo said:

@Magd Almuntaser I can't send Image Message, please help

You need SSH to fix your problem ..
First, you need to make sure that the APP_URL variable in the .env file contains the correct URL with http://
Second, open SSH, navigate to the root directory of the script, and enter this command:

php artisan storage:link

Done.. you can send image without problem ..

  • Author
comment_72247
1 hour ago, agus amin said:

ada yang berhasil install di aapanel + SSL Cloudflare? kalau di hosting sudah jalan, VPS Aapanel + SSL Cloudflare belum

Ya, server saya menggunakan SSL.
Anda akan memerlukan banyak usaha untuk membuat script Anda berfungsi dengan SSL.
Pertama, Anda perlu mendapatkan SSL sendiri. Anda dapat membelinya dari internet atau mendapatkannya secara gratis melalui Let's Encrypt.
Anda juga perlu meletakkan file SSL di folder cert untuk nodejs dan juga mengubah pengaturannya.
Selain itu, Anda perlu mengubah opsi SSL di Cloudflare.

Oleh karena itu, saya sarankan Anda tetap tanpa SSL jika Anda pemula dalam hal server, atau beri tahu saya jika Anda tahu banyak tentang server sehingga saya dapat memberi Anda langkah-langkahnya.

1 hour ago, The Billionaire said:

@Magd Almuntaser 

Route::get('/schedule', [ScheduleMessageController::class, 'index'])->name('scheduleMessage');

ScheduleMessage Controller couldn't be found among the controllers inside Routes/mpedia.php

 

 

I didn't understand your question, but the schedule only uses cronjob, so its commands are only within the server and it doesn't have a specific interface.
You can check some files related to it in these paths:
- app/Console/Commands/ScheduleCron.php
- app/Console/Commands/StartBlast.php
- app/Console/Kernel.php
- app/Http/Controllers/CampaignController.php

  • Author
comment_72250
1 hour ago, The Billionaire said:

@Magd Almuntaser 

Route::get('/schedule', [ScheduleMessageController::class, 'index'])->name('scheduleMessage');

ScheduleMessage Controller couldn't be found among the controllers inside Routes/mpedia.php

 

 

Oh, I understand your question now,😅 sorry for the delay in understanding.
Indeed, there is no class or controller named ScheduleMessageController.
I think the developer might have added it but didn't finish it because the schedule uses cronjob, so there's no need for a separate controller or class.

comment_72251
3 minutes ago, Magd Almuntaser said:

Oh, I understand your question now,😅 sorry for the delay in understanding.
Indeed, there is no class or controller named ScheduleMessageController.
I think the developer might have added it but didn't finish it because the schedule uses cronjob, so there's no need for a separate controller or class.

@Magd Almuntaser Nice one

comment_72280
On 7/6/2024 at 5:08 PM, Magd Almuntaser said:

AutoReply
(fix for 7.0.0 & 6.5.x & 5.5.0)

Reason: Because there is no connection to the WhatsApp server after connecting to the socket.
Solution: Connect to the WhatsApp server for all the numbers in the database after connecting to the socket.


Replace the server.js file located in the root directory of the script with the following code:
 

"use strict";

// Copyright By Ilman Sunanuddin, M pedia
// Email : Ilmansunannudin2@gmail.com
// website : https://m-pedia.co.id
// Whatsap : 6282298859671
// ------------------------------------------------------------------
// You are not allowed to share or sell this source code without permission.

const wa = require("./server/whatsapp");
const fs = require("fs");
const dbs = require('./server/database/index');
require("dotenv").config();
const lib = require("./server/lib");
global.log = lib.log;

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

/**
 * SOCKET.IO
 */
const { Server } = require("socket.io");
const io = new Server(server);
const port = process.env.PORT_NODE;
app.use((req, res, next) => {
  res.set("Cache-Control", "no-store");
  req.io = io;
  // res.set('Cache-Control', 'no-store')
  next();
});

const bodyParser = require("body-parser");

// parse application/x-www-form-urlencoded
app.use(
  bodyParser.urlencoded({
    extended: false,
    limit: "50mb",
    parameterLimit: 100000,
  })
);
// parse application/json
app.use(bodyParser.json());
app.use(express.static("src/public"));
app.use(require("./server/router"));

// console.log(process.argv)

io.on("connection", (socket) => {
  socket.on("StartConnection", (data) => {
    wa.connectToWhatsApp(data, io);
  });
  socket.on("ConnectViaCode", (data) => {
    wa.connectToWhatsApp(data, io, true);
  });
  socket.on("LogoutDevice", (device) => {
    wa.deleteCredentials(device, io);
  });
});
server.listen(port, console.log(`Server run and listening port: ${port}`));

dbs.db.query("SELECT * FROM devices WHERE status = 'Connected'", (err, results) => {
    if (err) {
      console.error('Error executing query:', err);
    }
    results.forEach(row => {
      const number = row.body;
      if (/^\d+$/.test(number)) {
        wa.connectToWhatsApp(number);
      }
    });
});

 

@Magd Almuntaser autoreply still not work sir. I've tried local and cpanel

  • Author
comment_72289
4 hours ago, Putra Pertama said:

@Magd Almuntaser autoreply still not work sir. I've tried local and cpanel

After you use my file you need to restart nodejs ..

Autoreply working without any problem .. if you still have this problem you can PM me i will see what is your problem

  • Author
comment_72300
7 hours ago, MUHAMMAD ADIB MUZAKKI said:

@Magd Almuntaser saya di hosting shared masih tidak bisa menggunakan storagelink dan tidak muncul qrscan

Apakah Anda memiliki Node.js di situs Anda?

Jika iya, apa panel kontrol yang Anda gunakan? Apakah itu cPanel atau aaPanel?

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