New to Twitter?
Mass-follow users by running this script.
You can either:
- pass a list of users to follow (defaults to to_follow.txt), one user per
line. Lines starting with
#will be ignored - follow everyone a certain account follows
usage: follow_users.py [-h] [-t FILE] [-s FILE] [-c Twitter Account]
Twitter follower
optional arguments:
-h, --help show this help message and exit
-t FILE, --to-follow FILE
list of accounts to follow
-s FILE, --settings-file FILE
settings file
-c Twitter Account, --copy-following Twitter Account
copy all users the supplied account followsObtaining the token
See getting started with tweepy. Then edit the settings.json file:
{
"consumer_token": "SAMPLE_TOKEN",
"consumer_secret": "SAMPLE_SECRET",
"access_token": "SAMPLE_ACCESS_TOKEN",
"access_token_secret": "SAMPLE_ACCESS_SECRET"
}Installation
pip install -U -r requirements.txtThis will install tweepy module.
Running the script
./follow_users.pyor
./follow_users.py -c "YOUR FRIEND'S TWITTER"Other notes
You can find people from LessWrong who are on twitter in this
thread. I saved them in
LW_accounts.txt. Execute with
./follow_users.py -t LW_accounts.txt