ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.71k stars 1.47k forks source link

Is it possible to follow private accounts using the Multi Script? #894

Closed keempoo closed 5 years ago

keempoo commented 5 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?


Describe your issue

I am using the multi_script_CLI.py and would like to add followers of a user I am following that are private. I have tried to update the below files:

with:

filter_users=False,
filter_private_users=False

I don't understand exactly what I'm doing or where the multi script is grabbing the parameter from. Any help would be appreciated!

keempoo commented 5 years ago

Happy to buy a coffee to anyone who could help. Instabot has been amazing otherwise!

jonhenshaw commented 5 years ago

At the bottom of the multi script, it created its own instance of the Bot class. In that initialization is where you want to add:

filter_private_users=False

It looks like this

bot = Bot( max_likes_per_day=setting_0, max_unlikes_per_day=setting_1, max_follows_per_day=setting_2, max_unfollows_per_day=setting_3, max_comments_per_day=setting_4, max_likes_to_like=setting_5, max_followers_to_follow=setting_6, min_followers_to_follow=setting_7, max_following_to_follow=setting_8, min_following_to_follow=setting_9, max_followers_to_following_ratio=setting_10, max_following_to_followers_ratio=setting_11, min_media_count_to_follow=setting_12, like_delay=setting_13, unlike_delay=setting_14, follow_delay=setting_15, unfollow_delay=setting_16, comment_delay=setting_17, whitelist_file=whitelist, blacklist_file=blacklist, comments_file=comment, stop_words=[ 'order', 'shop', 'store', 'free', 'doodleartindonesia', 'doodle art indonesia', 'fullofdoodleart', 'commission', 'vector', 'karikatur', 'jasa', 'open'])

Change it to

bot = Bot( max_likes_per_day=setting_0, max_unlikes_per_day=setting_1, max_follows_per_day=setting_2, max_unfollows_per_day=setting_3, max_comments_per_day=setting_4, max_likes_to_like=setting_5, max_followers_to_follow=setting_6, min_followers_to_follow=setting_7, max_following_to_follow=setting_8, min_following_to_follow=setting_9, max_followers_to_following_ratio=setting_10, max_following_to_followers_ratio=setting_11, min_media_count_to_follow=setting_12, like_delay=setting_13, unlike_delay=setting_14, follow_delay=setting_15, unfollow_delay=setting_16, comment_delay=setting_17, whitelist_file=whitelist, blacklist_file=blacklist, comments_file=comment, stop_words=[ 'order', 'shop', 'store', 'free', 'doodleartindonesia', 'doodle art indonesia', 'fullofdoodleart', 'commission', 'vector', 'karikatur', 'jasa', 'open'], filter_private_users=False) Do not mess with the original bot.py file. If you have any questions feel free to ask me.

keempoo commented 5 years ago

Amazing! Thank you!

tamerlanhtm commented 5 years ago

Hi Jon309,

I have added filter_private_users=False) to the bottom of multi_script_CLI.py script and then run follow_user_followers.py, but it is still skipping private profiles. Any ideas how to follow private users instead of business profiles?

Thank you

keempoo commented 5 years ago

I can actually answer this one!

Since you made the changes to the multi script, you need to run the multi_script_CLI.py not the follower_users_followers.py. Use the menu prompts to follow, then follow user, then insert name.