This project is a contract-based proof of concept developed for Mulltiply, demonstrating efficient integration with the Meta API to facilitate bulk messaging through WhatsApp Business.
The web app allows users to log in with Facebook, input multiple phone numbers, select a message template, customize it, and send messages seamlessly. It’s designed for businesses looking to enhance their communication strategies.
- Facebook Authentication: Secure user login using
next-auth
. - Multi-Number Input: Easily add and manage multiple phone numbers.
- Template Selection: Choose from a list of pre-defined templates.
- Variable Customization: Edit variables in the message for personalization.
- WhatsApp Business Messaging: Send messages via the Meta API with high reliability.
- Next.js: Framework for building the app with server-side rendering.
- Tailwind CSS: Utility-first CSS framework for a responsive and modern design.
- Axios: For handling API requests.
- Next-Auth: Authentication library for Facebook login.
- Meta API: For integrating WhatsApp Business messaging.
- Node.js installed on your machine.
- A WhatsApp Business API setup with Meta credentials.
- Clone the repository:
git clone https://github.com/Aayush-683/WA-Bulk-Messenger
- Navigate to the project directory:
cd WA-business
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Visit http://localhost:3000 to see the app.
- Setup next-auth for facebook login using custom facebook app [Documentation]
- Set up environment variables in a
.env
file:
FACEBOOK_CLIENT_ID=your-facebook-client-id
FACEBOOK_CLIENT_SECRET=your-facebook-client-secret
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=a-secure-secret-for-next-auth
META_API_KEY=your-meta-api-key
- Expanded API integration for more messaging features.
- Detailed analytics for message delivery and performance.
- A user-friendly dashboard for managing templates and recipients.
This project was developed for Mulltiply as part of a contract assignment, demonstrating the potential of WhatsApp Business for efficient communication.
This project is licensed under the MIT License.