Download videos and images from Pinterest, Instagram, Facebook, and YouTube directly to WhatsApp using a lightweight Node.js API
Features • Configuration • Set Webhook • Usage • File Structure • Example • To Do • Author • License
Social WhatsApp Downloader allows you to send links from multiple social media platforms — Pinterest, Instagram, Facebook, and YouTube — to your WhatsApp number and instantly receive the media file back (videos or images). The system automatically detects valid URLs, downloads the media, and sends it back via WhatsApp using a simple webhook-based setup.
Built with Node.js — lightweight, fast, and deployable on any platform such as Vercel, Render, or your VPS server.
- ⚡️ Download from Pinterest, Instagram, Facebook, and YouTube
- 📱 Supports Reels, Shorts, and regular videos
- 🔗 Instant WhatsApp automation via webhook (no polling)
- 🪶 Zero database dependency
- 🧩 Regex-based URL detection for multiple platforms
- 📝 Debug logging system included
-
Edit
config.js:// config.js module.exports = { API_BASE: 'https://wadownloader.amitdas.site/api/', WHATSAPP_INSTANCE_ID: 'YOUR_INSTANCE_ID', WHATSAPP_ACCESS_TOKEN: 'YOUR_ACCESS_TOKEN' };
Get your WhatsApp API credentials from textsnap.in
AAfter deploying your Node.js project to a hosting platform (for example, Vercel), set the webhook using the following API endpoint:
https://textsnap.in/api/set_webhook?webhook_url=https://your-vercel-project.vercel.app&enable=true&instance_id=YOUR_INSTANCE_ID&access_token=YOUR_ACCESS_TOKEN
- Deploy the code to any Node.js-supported platform (e.g., Vercel).
- Configure your
config.jsfile with API details. - Set the webhook URL using the endpoint above.
- Send any supported link (Pinterest, Instagram, Facebook, or YouTube) to your WhatsApp number.
- Receive the media directly in your WhatsApp chat! 🎬✅
📁 project-root
├── api/
│ └── index.js # Main Node.js webhook logic
├── config.js # Configuration file (API Base + WhatsApp credentials)
├── package.json # Node.js project setup
└── vercel.json # Deployment configuration for Vercel
Send a message on WhatsApp:
https://youtube.com/shorts/c_07yu5BekI?si=4ukjWk8rtJmwXmpJ
Or:
https://in.pinterest.com/pin/996632592567664852/
https://www.instagram.com/reel/XXXXXXXX/
https://www.facebook.com/watch/?v=XXXXXXXX
And receive the downloadable video automatically within seconds!
- Add custom caption formatting for WhatsApp replies
- Add Telegram bot integration
- Add web-based preview interface
- Add multi-quality video support (SD/HD)
If you prefer using PHP, check out the PHP version of this project here: 👉 Social WhatsApp Downloader (PHP)
This version runs smoothly on any PHP-supported server — including cPanel, Hostinger, or VPS hosting — and offers the same WhatsApp automation features for downloading from Pinterest, Instagram, Facebook, and YouTube.
| Amit Das |
This project is licensed under the MIT License.