Skip to content

divyaachoudharyy/Botter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Botter

Open Source Programs

DevIncept

Getting Started

  • First clone this repository: git clone https://github.com/Ayush7614/Botter.git

  • Replace 'XXXXXXXXX' in src/config.js with your Twitter API keys.

module.exports = {
  consumer_key: 'XXXXXXXXXXXXXXXX',  
  consumer_secret: 'XXXXXXXXXXXXXXXX',
  access_token_key: 'XXXXXXXXXXXXXXXX',  
  access_token_secret: 'XXXXXXXXXXXXXXXX'
}
  • To run this Twitter bot, first install dependencies : npm install

  • Then run the below command : npm run build or npm run start

Note - Tests are written using Mocha and can be run using npm test

APIs Used

Dependencies Used

Getting Twitter API keys

Click here to get Twitter API key.

Step by Step Instructions

  • Go to this and log in, if necessary.

  • Enter your Application Name, Description and your website address. You can leave the callback URL empty.

  • Accept the TOS, and solve the CAPTCHA.

  • Submit the form by clicking the Create your Twitter Application.

  • Copy the consumer key (API key) and consumer secret from the screen and replace in src/config.js

  • Generate acess token and access secret token and replace in src/config.js

About

Botter is bot which tweets random quotes with images and #hashtags

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%