Skip to content

cloudbomber/basic-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic Twitter bot app

This is a basic Twitter bot app which auto replies with a message once someone has followed your profile.

Setup the config file

npm install
  • create a file named "config.js".

  • To get the keys and tokens, please follow these steps:

  • go to --> https://apps.twitter.com/

  • click --> Create New App

  • fill in the the blanks

  • select the "Keys and Access Tokens" tab

  • click --> Generate Consumer key and Secret

  • copy the generated codes into the "config.js" you created

module.exports = {

 consumer_key:          '',
  consumer_secret:      '',
  access_token:         '',
  access_token_secret:  '',
  timeout_ms:           60*1000,  // optional HTTP request timeout to apply to all requests.
}

About

This repo contains files to create a basic twitter bot that auto replies when someone follows your profile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors