Hi there! Anyone knows if there's a method working for liking last post from a txt list?
my script is working fuzzy, keeping likes randomly to people in the txt list and not for LAST post
i would love to like evry last post for the txt user list
it's a Raspbian and WINDOWS Installation, same results...fuzzy likes...:(
(python 2 and 3)
import os
import sys
sys.path.append(os.path.join(sys.path[0], '../../'))
from instabot import Bot
#bot = Bot()
#bot.login(use_cookie=False)
bot = Bot(
filter_users=False,
#--- proxy ---
# proxy=None,
#--- delays ---
#like_delay=20,
# follow_delay=50,
# unfollow_delay=60,
# comment_delay=60,
#--- max ---
#max_likes_per_day=1000,
#max_unlikes_per_day=300,
#max_follows_per_day=250,
#max_unfollows_per_day=350,
#max_likes_to_like=100,
#max_followers_to_follow=2000,
#min_followers_to_follow=50,
#max_following_to_follow=5000,
#min_following_to_follow=10,
#max_followers_to_following_ratio=10,
#max_following_to_followers_ratio=2,
#max_following_to_block=5000,
#min_media_count_to_follow=20,
#min_likes_to_like=0
#--- files ---
# comments_file="comments.txt",
# blacklist="blacklist.txt",
# whitelist="whitelist.txt",
)
bot.login(username="XXX", password="!YYY", use_cookie=False)
#print("Current script's schedule:")
#follow_followers_list = bot.read_list_from_file("follow_followers.txt")
#print("Going to follow followers of:", follow_followers_list)
#follow_following_list = bot.read_list_from_file("follow_following.txt")
#print("Going to follow following of:", follow_following_list)
#like_hashtags_list = bot.read_list_from_file("like_hashtags.txt")
#print("Going to like hashtags:", like_hashtags_list)
like_users_list = bot.read_list_from_file("whitelist.txt")
print("Going to like users:", like_users_list)
tasks_list = []
#for item in follow_followers_list:
# tasks_list.append((bot.follow_followers, {'user_id': item, 'nfollows': None}))
#for item in follow_following_list:
# tasks_list.append((bot.follow_following, {'user_id': item}))
#for item in like_hashtags_list:
# tasks_list.append((bot.like_hashtag, {'hashtag': item, 'amount': None}))
for item in like_users_list:
tasks_list.append((bot.like_user, {'user_id': item, 'amount': 1, 'filtration':False}))
# shuffle(tasks_list)
for func, arg in tasks_list:
func(**arg)]([url]([url](url)))]([url](`url`))
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi there! Anyone knows if there's a method working for liking last post from a txt list? my script is working fuzzy, keeping likes randomly to people in the txt list and not for LAST post i would love to like evry last post for the txt user list it's a Raspbian and WINDOWS Installation, same results...fuzzy likes...:( (python 2 and 3)