Skip to content

Python program that automates Telegram engagement groups for Instagram such as Wolf Global by combining Instagram bot (Instabot-py) and Telegram API (Telethon)

Notifications You must be signed in to change notification settings

mattreaduk/Instagagement

Repository files navigation

Instagagement

Python program that automates Telegram engagement groups for Instagram such as Wolf Global by combining Instagram bot (Instabot-py 0.4.7) and Telegram API (Telethon).

This also runs on Raspberry Pi (requires Python 3.6 or higher; here is a tutorial).

Features

  • Finds latest posts from profile you specify, gets links from the posts, joins Telegram group, finds all the links to engage with, engages, posts yours. That simple. Currently only supports likes.
  • Intended for 24/7 use with limited hours during the day (e.g. 6.00 to 18.00).
  • Supports basic Telegram engagement groups - post amount based (e.g. Dx10) and 24h groups. Currently 25 groups are available and can be seen in 'group_template.json' (choosable during quickstart), more can be easily added. Request any missing.

Requirements

  • Python 3.6 or higher
  • Telegram account with created application from which API hash and ID will be used
  • Instabot.py 0.4.7 for handling likes and finding user feed last links (finds the links from specified profile which are needed in Telegram groups for posting)
  • Telethon for handling Telegram

Installation

Proper package will be made soon.

Windows

  • Install Python
  • Download Instagagement and extract it somewhere
  • Open Windows PowerShell or Command Prompt
  • Run the following:
pip install instabot-py==0.4.7
pip install telethon
(cd to where you extracted Instagagement e.g. cd ~/Desktop/Instagagement)
python quickstart.py
python run.py

Linux

pip install instabot-py==0.4.7
pip install telethon
cd ~/Desktop
git clone https://github.com/Ewlbo/Instagagement/
cd Instagagement
python quickstart.py
python run.py

Usage

To get started and set everything up, run 'quickstart.py'. During quickstart you will be asked for your Instagram credentials and Telegram API keys which you can generate here.

There is premade program for simple operation - 'run.py'.

If you exit python program while Telegram client is open, you will block Telegram's session file. To fix it, run 'create_session.py' and change the name of session file in config file of your account. Do not re-use old session name.

The groups go into 2 main categories: those, who require you to engage with the account that you want likes on (e.g. Wolf Global) and those who dont (e.g. Boostgram). Quickstart will guide you. In first scenario you would use your main account for engagement (groups 1-25), in second scenario you would have alt account which does the engagement and posts link from main account (groups 1-8 only).

Some groups have minimum follower requirement. Use with care as currently there is nothing checking that (will add soon).

Known bugs:

  • After liking the posts that have been missed during first liking batch, it does not find the newly missed ones. Minor issue. Noticable in fast-pacing groups.
  • Some useful features needed.
  • Gets funny after midnight (dumb timing in run.py) - e.g. do not use with timing from 23 to 4 (it does not like day switch).
  • Probably some other mess. Been stress-testing it for several weeks, no major issues.

If you run multiple bots on 1 Telegram account:

  • Do not overlap groups
  • Run them in same location/folder

More details coming soon (maybe).

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Software is quite messy due to inexperience with Python and time constraints.

License

Did not bother to add anything, do as you wish.

Disclaimer: Please Note that this is a research project. I am by no means responsible for any usage of this tool. Use on your own behalf. I'm also not responsible if your Instagram account gets banned due to extensive use of this tool. If Telethon is outdated, your Telegram account most likely will get banned, update Telethon frequently. Check your Telegram frequently to see if any engagement has been missed (happens very rarely).

About

Python program that automates Telegram engagement groups for Instagram such as Wolf Global by combining Instagram bot (Instabot-py) and Telegram API (Telethon)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages