Coder Social home page Coder Social logo

Random Twitter Bot

== Daniel Batalha

In this tutorial instalation i will show you guys how to install my twitter bots. The goal of this bots is randomly pick mention from a who tweet or retweet with a certain @mention i.e. a person who tweet something with @minecraft this bot will catch his @twittername. You can optionally match from some other string in a tweet text. The mentions is stored on a Mysql database.

After pick a random tweet from SQL Database and tweet to a random person like "@randomperson random cool tweet".

Note, this is a Open Source program feel free to use and modify, use it at your own risk.

Required Software to run this custom bot.

  • Linux Machine.
  • Ruby on rails.
  • Ruby gems.
  • Ruby json gem.
  • Ruby fastercsv gem.
  • Python3
  • Tweepy
  • MySQL Database.

Install all dependencies on Fedora.

Install Python3. yum install python3 Install ruby. yum install ruby Install the ruby gems. yum install gems Gems, make sure you install gems as root. gem install fastercsv gem install json Install tweepy program. yum install tweepy To install MySQL follow the instructions Link.

Install all dependencies on Ubuntu.

Install ruby sudo apt-get install ruby Install ruby gems, sudo apt-get install ruby-gems Gems, install as root. sudo gem install fastercsv sudo gem install json Install tweepy program. sudo apt-get install tweepy Install mysql. sudo apt-get install mysql-server

dbatalha's Projects

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.