Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this is all you need ...after you install some stuff
- # full details are here:
- # this is really all you need to know though:
- # pip install TwitterFollowBot
- # pip install twitter
- # https://pypi.python.org/pypi/TwitterFollowBot/v2.0
- #-------------------------------------------------------
- # Usage
- # Configuring the bot
- # Before running the bot, you must first set it up so it can connect to the Twitter API. Create a config.txt file and fill in # the following information:
- # OAUTH_TOKEN:
- # OAUTH_SECRET:
- # CONSUMER_KEY:
- # CONSUMER_SECRET:
- # TWITTER_HANDLE:
- # ALREADY_FOLLOWED_FILE:already-followed.txt
- # FOLLOWERS_FILE:followers.txt
- # FOLLOWS_FILE:following.txt
- # USERS_KEEP_FOLLOWING:
- # USERS_KEEP_UNMUTED:
- # USERS_KEEP_MUTED:
- #-------------------------------------------------------
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- from TwitterFollowBot import TwitterBot
- import time
- import os, ConfigParser, tweepy
- while True:
- my_bot = TwitterBot()
- my_bot.sync_follows()
- my_bot.auto_follow("<key phrase here>", count=10)
- my_bot.auto_follow_followers()
- my_bot.auto_fav("<key phrase here>", count=1000)
- my_bot.auto_rt("<key phrase here>", count=1000)
- time.sleep( 1800 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement