Пример #1
0
def unfollow():
	uf_bot = TwitterBot()

	uf_bot.sync_follows()
	uf_bot.auto_follow_followers()
	uf_bot.auto_unfollow_nonfollowers()
	uf_bot.auto_mute_following()
Пример #2
0
def follow_keyword(keyword, number):

	f_bot = TwitterBot()

	f_bot.sync_follows()
	f_bot.auto_follow(keyword, count = number)
	f_bot.auto_follow_followers()
	f_bot.auto_mute_following()
Пример #3
0
    with open('/home/scripts/twitter/already-followed.txt', "w") as out_file:
        for non_follower in alr_follow:
            out_file.write("%s\n" % (non_follower))


config = 'config.txt'
my_bot = TwitterBot(config)

stars = '*' * 10

if not os.path.isfile('followers.txt'):
    print('%sPhase of follow followers%s' % (stars, stars))
    print(time.asctime(), '\n')
    my_bot.sync_follows()
    my_bot.auto_follow_followers()

    print('%sWaiting 6-7h%s' % (stars, stars))
    print(time.asctime(), '\n')
    time.sleep(random.randint(6 * 60 * 60, 7 * 60 * 60))

while True:
    following_bot = my_bot.get_follows_list()
    followers_bot = my_bot.get_followers_list()
    not_following_back_bot = following_bot - followers_bot
    not_following_back_bot = list(not_following_back_bot)

    if len(not_following_back_bot) < 400:

        print('%sPhase of follow #1%s' % (stars, stars))
        print(time.asctime(), '\n')  #_FireAnt - 100% audit, vasial9 99.5
Пример #4
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()


my_bot.sync_follows()

my_bot.auto_follow_followers()