Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chandrikadeb7/Girlscript-Twitter-Bot

Repository files navigation

GirlScript Twitter Bot

A Twitter Bot that automatically retweets, favourites the tweets with hashtag #girlscript

Follow on Twitter - Click Girlscript Bot

⭐ Star us on GitHub β€” it helps!

Python contributions welcome Forks Stargazers Issues MIT License LinkedIn

πŸš€ Installation

Clone the repo

$ git clone https://github.com/chandrikadeb7/Girlscript-Twitter-Bot.git

Install tweepy Python module

$ pip install tweepy

πŸ’‘ Working

Sign up for a Twitter Developer Account

  • Create a separate Twitter account for your bot.
  • Sign up for Twitter Developer Account from this site - Apply for a Twitter Developer Account
  • Enter the necessary fields and await for email confirmation.
  • Click on Create an app
  • Enter the details and keep safe the access tokens generated.

Enter your generated access tokens and consumer keys in the file credentials.py

consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''

Edit the retweet and other details in the file config.py

# This is hastag which Twitter bot will search and retweet. You can edit this with any hastag .For example : '#javascript'
QUERY = '#anything'
# Twitter bot setting for liking Tweets
LIKE = True 
# Twitter bot setting for following user who tweeted
FOLLOW = True
# Twitter bot sleep time settings in seconds. For example SLEEP_TIME = 300 means 5 minutes.
# you can decrease it or increase it as you like.Please,use large delay if you are running bot all the time so that your account does not get banned.
SLEEP_TIME = 300

πŸ”‘ Deployment

  • Sign up for a free account in Heroku
  • Click on New -> Create new app
  • Enter the app-name in lower case and select your nearest region.
  • Choose Heroku CLI for deployment. Follow the steps given in Deploy tab.
  • Once the build is successful enable the Free Dynos option from Overview tab.

πŸ‘ And it's done!

Feel free to file a new issue with a respective title and description on the the Girlscript-Twitter-Bot repository. If you already found a solution to your problem, I would love to review your pull request!

πŸ“˜ License

The Girlscript Twitter Bot is released under the under terms of the MIT License.

❀️ Contributor

Made by Chandrika Deb

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /