reddit-networking-bot
v1.0.0
Published
A Reddit bot to PM people interested in tech-founder networking groups
Readme
Social Media Networking Bot
A sophisticated bot that finds users interested in business networking on TikTok, X (formerly Twitter), YouTube, and Facebook and engages with them using advanced web scraping techniques to avoid detection.
Features
- Advanced Anti-Detection Measures: Uses browser fingerprint randomization, proxy rotation, and human-like behavior simulation
- Multi-Platform Support: Targets TikTok, X.com, YouTube, and Facebook
- Intelligent Rate Limiting: Automatically adjusts activity based on platform responses
- Human Behavior Simulation: Mimics natural typing patterns, scrolling behavior, and timing
- Proxy Support: Integrates with proxy services to avoid IP-based blocking
- Resilient Error Handling: Gracefully handles platform changes and rate limiting
Setup
Configure Proxies (Optional but Recommended):
- Add proxies to
proxies.txtin the format:host:port:username:password - Or set up a Webshare API token in your
.envfile
- Add proxies to
Environment Configuration:
- Copy
sample.envto.envand configure the settings - Set browser and proxy configurations
- Add platform credentials if you want to use authenticated features
- Copy
Customize Messages and Search Terms:
- Edit
config.jsonto customize your outreach messages - Adjust search terms to target your specific audience
- Edit
Install Dependencies and Run:
pnpm install
pnpm startHow It Works
The bot operates in cycles, with built-in randomization to appear more human-like:
- Platform Selection: Selects a platform to target for the current cycle
- Search Phase: Searches for users based on configured keywords
- Filtering Phase: Filters out previously contacted users and obvious bots
- Engagement Phase: Follows users and attempts to engage through comments or mentions (if available)
- Cooldown Phase: Waits a randomized period before the next cycle
Anti-Detection Features
- Browser Fingerprint Randomization: Changes browser signatures to avoid tracking
- Human-Like Behavior: Simulates realistic typing speeds, mouse movements, and page interactions
- Intelligent Timing: Operates only during business hours with natural pauses
- Progressive Backoff: Automatically slows down when rate limits are detected
- Header Customization: Uses realistic browser headers
Platform-Specific Notes
TikTok
Since TikTok doesn't have direct messaging for unauthenticated users, the bot follows users and comments on their latest video.
X.com (Twitter)
The bot follows users and mentions them in tweets. If you have API access with direct messaging permissions, you can enable those features by setting up the API credentials in your .env file.
YouTube
The bot follows users and comments on their latest video.
The bot follows users and comments on their latest post.
Maintenance
- The bot persists messaged users in platform-specific files (e.g.,
messaged-tiktok.json,messaged-x.json,messaged-youtube.json,messaged-facebook.json) - The bot persists proxies in the
proxies.txtfile - Logs are stored in the
logsdirectory for troubleshooting - Screenshots are stored in the
screenshotsdirectory for debugging - Proxies are automatically validated and scored based on reliability
License
This project is licensed under the MIT License - see the LICENSE file for details.
