You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -96,7 +96,7 @@ Note that this allows you to run multiple instances of the bot with different co
96
96
97
97
Due to Twitter API rate limiting, the bot must maintain a local cache of all of your followers so it doesn't use all of your API time looking up your followers. It is highly recommended to sync the bot's local cache daily:
98
98
99
-
from TwitterBot import TwitterBot
99
+
from TwitterFollowBot import TwitterBot
100
100
101
101
my_bot = TwitterBot()
102
102
my_bot.sync_follows()
@@ -111,56 +111,56 @@ This bot has several functions for programmatically interacting with Twitter:
111
111
112
112
####Automatically follow any users that tweet something with a specific phrase
113
113
114
-
from TwitterBot import TwitterBot
114
+
from TwitterFollowBot import TwitterBot
115
115
116
116
my_bot = TwitterBot()
117
117
my_bot.auto_follow("phrase")
118
118
119
119
You can also search based on hashtags:
120
120
121
-
from TwitterBot import TwitterBot
121
+
from TwitterFollowBot import TwitterBot
122
122
123
123
my_bot = TwitterBot()
124
124
my_bot.auto_follow("#hashtag")
125
125
126
126
By default, the bot looks up the 100 most recent tweets. You can change this number with the `count` parameter:
127
127
128
-
from TwitterBot import TwitterBot
128
+
from TwitterFollowBot import TwitterBot
129
129
130
130
my_bot = TwitterBot()
131
131
my_bot.auto_follow("phrase", count=1000)
132
132
133
133
####Automatically follow any users that have followed you
134
134
135
-
from TwitterBot import TwitterBot
135
+
from TwitterFollowBot import TwitterBot
136
136
137
137
my_bot = TwitterBot()
138
138
my_bot.auto_follow_followers()
139
139
140
140
####Automatically follow any users that follow a user
0 commit comments