π± Download Instagram & Facebook Videos/Reels with Telegram Bot
β‘ 4,184 views Β· π± Social Media & Email Marketing
π‘ Pro Tip β HTTP Request scraping tends to break when sites update their markup. If youβre scraping a major platform, check if ScraperNode covers it β it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
Instagram & Facebook Video/Reels Downloader Bot (Telegram bot)
image.png Once set up, simply send any Instagram Reel or Facebook video link to your Telegram bot, and it will automatically:
- Check if the shared link is valid.
- Detect whether itβs an Instagram or Facebook link.
- Fetch the video using API and scraping methods.
- Download the video directly from the source.
- Send the downloaded video (or a message if itβs invalid) right back to your Telegram chat β instantly!
How It Works (Node Flow)
- Telegram Trigger: Listens for new messages (video/reel links) from users.
- Regex Node: Extracts and validates the Instagram/Facebook link format.
- Conditional Node (If): Determines whether the link is for Facebook or Instagram.
- Link Validation Node: Ensures the provided link is valid and reachable.
- Instagram Node:
- Fetches video metadata via API.
- Decodes and downloads the Reel.
- Sends the downloaded video and confirmation message via Telegram.
- Facebook Node:
- Uses scraping/API to get the video source.
- Generates the downloadable link.
- Downloads and sends the Facebook video back to Telegram.
- Error Handling Node: Sends a custom error message if the link is invalid.
Features
β
Works with both Instagram and Facebook links
β
Automatically detects the platform and processes accordingly
β
Delivers the downloaded video directly to your Telegram chat
β
Handles invalid or broken links gracefully
β
Clean and modular structure β easy to extend or customize
Use Case
Perfect for social media managers, content creators, and automation enthusiasts who want a simple Telegram bot to fetch and download Reels or videos without using third-party apps or websites.
π Nodes Used
HTTP Request, Telegram, Telegram Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File