A witty bot for twitter designed to motivate, inspire and help newbies software developers. This bot is designed with Ruby and will fav all your replies with a random phrase (depending on the topic). There are three main topics that the bot can reply about: open-source, motivation, and famous quotes about programming.
The KeepDevelopingBoy will also post a tweet with random facts (within 29 in total) about programming every 12 hours.
The bot checks for and replies/fav every 30 seconds.
- Ruby
- chatterbot (GEM)
- dotenv (GEM)
- Twitter API
To get a local copy up and run the program do these steps on the console:
-
To clone the project to your machine, run
git clone https://github.com/petumazo/Twitter-KeepDevelopingBot.git. -
To install the required dependencies, run
bundle install. -
For it to run you'll have to get your Token, Secret Toke, Consumer Key and Consumer_Secret, if you don´t know-how, you can check the official twitter guide on how to get your access tokens.
-
If you're still confused and you don´t know how to generate your access tokens follow these steps:
- Login to your Twitter account on Twitter Developer and ask for access to Twitter API, follow this [video tutorial] (https://www.youtube.com/watch?v=vlvtqp44xoQ) if you feel confused.
- Navigate to the Twitter app dashboard and open the Twitter app for which you would like to generate access tokens.
- Navigate to the "Keys and Tokens" page.
- Select 'Create' under the "Access token & access token secret" section.
-
To run the bot, run
bin/Keep_developing_bot.rbin the console. -
Remember (To generate your access token and secret, you must have a Twitter app. You will need to register an application with Twitter. Twitter requires all API communication to be via an app which is registered on Twitter.)
-
To run RSpec:
- run 'gem install rspec' on your console from the root directory
- run 'rspec' to check for tests
- Have ruby compiler installed on your system. You can get it from here
👤 David Alvarez
- GitHub: @petumazo
- Twitter: @petudeveloper
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.


