Example #1
0
    def auto_follow(self):
        self.label2 = Label(self.fourthFrame, text="Loading")
        self.label2.grid(row=6, columnspan=2, pady=10)
        self.canvas = Canvas(self.fourthFrame,
                             width=465,
                             height=22,
                             bg="white")
        self.canvas.grid(row=7, columnspan=2)
        fill_line = self.canvas.create_rectangle(1.5,
                                                 1.5,
                                                 0,
                                                 23,
                                                 width=0,
                                                 fill="green")

        tkinter.messagebox.showinfo(
            title="Information",
            message=
            "Processing, it takes around 10s - 60s to follow one account. Please wait unitl it finishes!"
        )
        keyword = self.entry1.get()
        num = self.entry2.get()
        my_bot = TwitterBot("config2.txt")

        my_bot.sync_follows()
        my_bot.auto_follow(keyword,
                           self.canvas,
                           self.master,
                           fill_line,
                           count=num)
        tkinter.messagebox.showinfo(title="Information", message="Done!")
Example #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()
Example #3
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.auto_follow("business")

Example #4
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.sync_follows()
my_bot.auto_follow("mtb")

Example #5
0
from TwitterFollowBot import TwitterBot

#create a instance of twitter bot
my_bot = TwitterBot()

#sink with the local cache to find the exixting followers
my_bot.sync_follows()

#auto unfollow people who don't follow
my_bot.auto_unfollow_nonfollowers()

#auto follow the twitter handle that tweets on the given topic
my_bot.auto_follow("docker", count=05)
my_bot.auto_follow("devops", count=05)
my_bot.auto_follow("kubernetes", count=05)

#auto retweet when match is found with a specific topic
my_bot.auto_rt("devops", count=2)

#auto follow the followers
my_bot.auto_follow_followers()
Example #6
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.auto_follow("tomorrowland", count=10)
my_bot.auto_follow("sxsw", count=10)
my_bot.auto_follow("ultra miami", count=10)
my_bot.auto_follow("rave booty", count=10)
my_bot.auto_follow("festival", count=10)
my_bot.auto_follow("dallas", count=10)
my_bot.auto_follow("austin", count=10)
my_bot.auto_follow("snapchat story", count=10)
my_bot.auto_follow("spotify", count=10)
my_bot.auto_follow("soundcloud", count=10)

Example #7
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.auto_follow("Retweet + Likes", count=1)
my_bot.auto_rt("Retweet + Like", count=1)
my_bot.auto_fav("Retweet + Like", count=1)
Example #8
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.sync_follows()
my_bot.auto_follow("makerspace")
my_bot.auto_follow("#BSU")
my_bot.auto_follow_followers()
# my_bot.send_tweet("Hello Makers!")
Example #9
0
from TwitterFollowBot import TwitterBot
import time

my_bot = TwitterBot()

count = 0

while True:
	my_bot.sync_follows()

	my_bot.auto_follow("gestion proyecto")
	#my_bot.auto_follow("project management")
	my_bot.auto_follow("#ludificacion")
	my_bot.auto_follow("#gamification")
	my_bot.auto_follow("#liderazgo")
	my_bot.auto_follow("#productividad")
	#my_bot.auto_follow("basecamp")
	#my_bot.auto_follow("trello")

	my_bot.auto_unfollow_nonfollowers()

	count+=1
	time.sleep(60*60*2)


'''
while count < 20:
	my_bot.auto_rt("gestion proyecto", count=1)
	time.sleep(60*10)
	my_bot.auto_rt("#equipo", count=1)
	time.sleep(60*10)
Example #10
0
            my_bot.auto_follow_followers()
            print('%sWaiting 9.5-11.5h%s' % (stars, stars))
            print(time.asctime(), '\n')
            time.sleep(random.randint(9.5*60*60, 11.5*60*60))
            my_bot.sync_follows()

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

    if command == 'c':
        config = input('Input name of config file: ')
        my_bot.sync_follows()

    if command == 'afh':
        my_bot.auto_follow("#FollowBack #Bounty", count=1000)

    if command == 'b':
        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) < 900:

                print('%sPhase of follow #1%s' % (stars, stars))
                print(time.asctime(), '\n') #_FireAnt - 100% audit, vasial9 99.5
                my_bot.auto_follow_followers_of_user('alzambek', count = random.randint(180, 210))

                print('%sWaiting 8.5-10.5h%s' % (stars, stars))
Example #11
0
def bot1(keyword, count):
    my_bot = TwitterBot("config.txt")
    my_bot.sync_follows()
    my_bot.auto_follow(keyword, count=count)