- FAQ
- Introduction
- Comparisons
- Quick Start
- Features
- Disclaimer
- Requirements
- Event Handler
- Command Handler
- Messages
- Chats
- Groups
- Contacts
- Polls
- Channels
- Orders
- Payments
- Multi Device
- Presence and Profile
If you’re here, you’re probably interested in creating a WhatsApp bot or application using whatsapp-web.js. This guide will walk you through it.
- Start your App from scratch
- Handling messages and events properly
- Structuring your code so it stays clean as it grows
- Choosing the right authentication strategy for your use case
- Working with chats, groups, contacts and media
- Best practices to avoid getting blocked
- And much more
Before you begin
To develop an application with whatsapp-web.js, you should be reasonably comfortable with JavaScript and Node.js. While it is possible to assemble something with minimal knowledge, doing so without understanding the fundamentals will slow you down. You’ll likely encounter simple issues that become blockers and lead to unnecessary frustration.
If you’re not yet confident with Node.js or JavaScript, review the following resources before proceeding:
- Official Node.js Docs
- Node.js Guides
- W3Schools Node.js Tutorial
- GeeksforGeeks Node.js Tutorial
- TutorialsPoint Node.js
Work through a few of these until you’re comfortable with the basics. Once you can confidently write and reason about simple programs, return and continue with the guide.
On This Page