Skip to content

πŸ€– Bot Telegram gamifiΓ© de follow-for-follow pour Instagram β€” missions, niveaux, classement, referrals. Python + Aiogram 3. Free & open source.

License

Notifications You must be signed in to change notification settings

SoCloseSociety/FrFollowForFollowBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FR Follow For Follow Bot

Bot Telegram gamifiΓ© de follow-for-follow pour faire grandir ton Instagram β€” missions, niveaux, classement.

License: MIT Python 3.13+ Platform Stars Issues

Quick Start β€’ Features β€’ How It Works β€’ FAQ β€’ Contributing


What is FR Follow For Follow Bot?

FR Follow For Follow Bot is a free, open-source Telegram bot that gamifies Instagram follow-for-follow exchanges for the French-speaking community. Users receive missions (5 accounts to follow), earn stars for completing them, level up, and climb a leaderboard β€” all managed automatically.

Unlike basic F4F bots, this one features a complete gamification engine: levels, achievements, streaks, referral bonuses, daily check-ins, and an optional auto-mode for premium users.

Who is this for?

  • Instagram Creators looking to grow organically in the French market
  • Social Media Managers bootstrapping new accounts
  • Community Builders running engagement groups on Telegram
  • Growth Hackers exploring gamified acquisition strategies
  • Developers learning async Python with Aiogram 3

Key Features

  • Mission System β€” Receive 5 accounts to follow per mission with verification
  • Gamification Engine β€” Stars, levels (DΓ©butant β†’ LΓ©gende), achievements, streaks
  • Daily Check-ins β€” 2 stars/day + 15-star bonus for 7-day streaks
  • Referral Program β€” 10 stars per invited friend
  • Leaderboard β€” Global ranking to foster competition
  • Auto Mode β€” Premium feature: automated following for 24h (50 stars)
  • Admin Panel β€” Full management via Telegram commands
  • Rate Limiting β€” Smart delays with exponential backoff for Instagram safety
  • Session Persistence β€” Avoids frequent Instagram re-logins
  • French UI β€” Entirely in French for the target audience
  • Free & Open Source β€” MIT license

Quick Start

Prerequisites

Requirement Details
Python 3.13+ (Download)
Telegram Bot Token Create via @BotFather
Instagram Account A dedicated account for the bot

Installation

# 1. Clone the repository
git clone https://github.com/SoCloseSociety/FrFollowForFollowBot.git
cd FrFollowForFollowBot

# 2. Create a virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

# 4. Configure
cp .env.example .env
# Edit .env with your credentials

# 5. Run
python bot.py

How It Works

User joins Telegram Group
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     FrFollowForFollowBot    β”‚
β”‚                             β”‚
β”‚  1. User registers IG link  β”‚
β”‚  2. Receives mission (5 IG) β”‚
β”‚  3. Follows the 5 accounts  β”‚
β”‚  4. Bot verifies via API    β”‚
β”‚  5. Stars awarded (3/follow)β”‚
β”‚  6. Level up + leaderboard  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
   SQLite Database
   (users, missions, follows)

Gamification System

Action Stars Earned
Follow completed 3 stars
Received a follow 1 star
Referral 10 stars
Daily check-in 2 stars
7-day streak bonus 15 stars
Welcome bonus 5 stars
Level Name
1 DΓ©butant
2 Explorateur
3 Influenceur
4 Star
5 LΓ©gende

Configuration

Copy .env.example to .env and fill in your values:

Variable Description
TELEGRAM_BOT_TOKEN Bot token from @BotFather
INSTAGRAM_USERNAME Bot's Instagram username
INSTAGRAM_PASSWORD Bot's Instagram password
ADMIN_TELEGRAM_IDS Comma-separated admin Telegram IDs

Project Structure

FrFollowForFollowBot/
β”œβ”€β”€ bot.py                  # Main entry point
β”œβ”€β”€ config.py               # Settings management (Pydantic)
β”œβ”€β”€ requirements.txt        # Dependencies
β”œβ”€β”€ .env.example            # Configuration template
β”œβ”€β”€ database/
β”‚   β”œβ”€β”€ db.py               # DB connection & init
β”‚   β”œβ”€β”€ models.py           # SQL table definitions
β”‚   └── queries.py          # Query functions
β”œβ”€β”€ handlers/
β”‚   β”œβ”€β”€ start.py            # Registration & /start
β”‚   β”œβ”€β”€ mission.py          # Mission generation
β”‚   β”œβ”€β”€ verify.py           # Follow verification
β”‚   β”œβ”€β”€ profile.py          # User profile
β”‚   β”œβ”€β”€ leaderboard.py      # Rankings
β”‚   β”œβ”€β”€ referral.py         # Referral links
β”‚   β”œβ”€β”€ auto_mode.py        # Auto-mode feature
β”‚   β”œβ”€β”€ settings.py         # User preferences
β”‚   β”œβ”€β”€ help.py             # Help command
β”‚   └── admin.py            # Admin panel
β”œβ”€β”€ keyboards/
β”‚   β”œβ”€β”€ inline.py           # Inline buttons
β”‚   └── callbacks.py        # Callback data
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ instagram.py        # Instagram API + rate limiter
β”‚   β”œβ”€β”€ mission_engine.py   # Mission algorithm
β”‚   β”œβ”€β”€ gamification.py     # Points & achievements
β”‚   └── scheduler.py        # Background jobs
β”œβ”€β”€ middlewares/
β”‚   └── auth.py             # Authentication
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ helpers.py          # Utility functions
β”‚   └── texts.py            # French UI strings
└── scripts/
    └── seed_pool.py        # DB seeding

Troubleshooting

Bot doesn't start

  1. Check your .env β€” make sure the Telegram token is valid
  2. Verify Python 3.13+ with python --version
  3. Ensure all dependencies are installed: pip install -r requirements.txt

Instagram login fails

  1. Disable 2FA on the bot's Instagram account
  2. Log in manually first to clear security challenges
  3. Wait a few hours if rate-limited

Verification fails

  1. Instagram may have restricted the bot β€” increase delays in config
  2. Target account may be private
  3. Check logs for specific error messages

FAQ

Q: Is this free? A: Yes. 100% free and open source under MIT license.

Q: Is this safe for my Instagram? A: Use reasonable limits. The bot includes rate limiting and human-like delays, but aggressive usage can trigger Instagram restrictions.

Q: Can I change the language? A: The UI strings are in utils/texts.py β€” you can translate them to any language.

Q: How many users can it handle? A: SQLite with WAL mode handles hundreds of concurrent users easily. For thousands, consider migrating to PostgreSQL.


Alternatives Comparison

Feature FrFollowForFollowBot Manual F4F Paid Growth
Price Free Free $20-100/mo
Gamification Yes (levels, stars) No No
Automated Yes No Yes
Fair exchange Yes (mission system) Trust-based N/A
Open source Yes N/A No

Contributing

Contributions are welcome! Please read the Contributing Guide before submitting a pull request.


License

This project is licensed under the MIT License.


Disclaimer

This tool is provided for educational purposes only. Automated interactions may violate Instagram's Terms of Service. Use responsibly and at your own risk. The authors are not responsible for any account restrictions.


If this project helps you, please give it a star!
Star this repo


Built with purpose by SoClose β€” Digital Innovation Through Automation & AI
Website β€’ LinkedIn β€’ Twitter β€’ Contact

About

πŸ€– Bot Telegram gamifiΓ© de follow-for-follow pour Instagram β€” missions, niveaux, classement, referrals. Python + Aiogram 3. Free & open source.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages