Skip to content

haraldur12/QuoteBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuoteBot

QuoteBot uses Twitter API to post random tweets based on your quotes file. It reads one line at a time and posts it to your account. Response.js is responsible for tracking users who post certain hashtags and sends them messages to follow you back. You can set the timer for your needs.

Installation

  1. You have to create a .envfile first with the following settings to store your credentials.

    TWITTER_CONSUMER_KEY=key
    TWITTER_CONSUMER_SECRET=secret
    TWITTER_ACCESS_TOKEN_KEY=token
    TWITTER_ACCESS_TOKEN_SECRET=token_secret
  2. npm install

  3. npm run build

  4. npm start sets your bot on motion.

Running

  • npm start

Modifications

Tasks are based on Node Scheduler. You should refer to their API for timing your tasks.

About

Twitter bot that sends random quotes and favorites people with certain tags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors