GithubHelp home page GithubHelp logo

hugoahosta / twitterbots Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bexxmodd/twitterbots

1.0 1.0 0.0 1.62 MB

Increase you Twitter presence with this bots.

License: MIT License

Python 98.37% Dockerfile 1.63%

twitterbots's Introduction

Twitter Bots

Increase your Twitter presence with these bots.

Currently, three bots which will expand your social media (Twitter in these case) outreach by maintaining activity level.


bot Statusio - Based on a week of the day, picks the topic and scraps top articles from the leading webpages of to post tweet them as a status with a comment and relevant hashtags.

bot Folowero - Follows back whoever follows you.

bot Activius - Given the keywords searches for the tweets, likes them, if not liked before, retweets them if not. retweeted before.

bot Mentionaro (NEW!) - Checks for the mentions. If the user has not responded and the mention involves any of the keywords, replies with ๐Ÿ’ฏ.


Run the .py file in a terminal and bot gets to work:

terminal tweeter

Folders Structure

TwitterBots/
   |
   โ”œโ”€โ”€ bots/
   |    โ”œโ”€โ”€ cfg.py
   |    โ”œโ”€โ”€ dayandtime.py
   |    โ””โ”€โ”€ activius.py
   |    โ””โ”€โ”€ followero.py
   |    โ””โ”€โ”€ statusio.py
   |    โ””โ”€โ”€ mentionao.py
   |
   โ”œโ”€โ”€ .gitignore
   โ”œโ”€โ”€ LICENSE.txt
   โ”œโ”€โ”€ README.md
   โ”œโ”€โ”€ requirements.txt
   โ””โ”€โ”€ Dockerfile

Installation

Currently, the only option is to fork the repo and run it through your terminal by executing each of the bots individually. Before executing python file you need to register as a developer on a Twitter API and then make sure you set up your Tweeter API credentials through the terminal.

Linux $ OS X:

export CONSUMER_KEY="your_consumer_key"
export CONSUMER_SECRET="your_consumer_secret"
export ACCESS_TOKEN="your_access_token"
export ACCESS_TOKEN_SECRET="your_access_token_secret"

After you have exported your Twitter credentials you can execute files through the terminal. For example:

python3 bots/statusio.py

Release History

  • 0.1.0
    • New bot mentionaro is added; Dockerfile is created for deployment.
  • 0.0.5
    • Added loop to the status updates, sends thank you message to new followers.
  • 0.0.1
    • Work in the process.

Development Setup

A list of the dependencies is available in the requirements.txt file. The majority of packages are included with a standard python 3.5+ install.

Meta

Follow me on social media:

Bexx Modd GitHub Bexx Modd Twitter Bexx Modd LinkedIn


Distributed under the MIT license. See LICENSE.txt for more information.

twitterbots's People

Contributors

bexxmodd avatar dependabot[bot] avatar

Stargazers

hugo aghosta avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.