Skip to content

Bot that you can use to send tweets to your profile (JavaScript,Nodejs)

Notifications You must be signed in to change notification settings

JoseMG-ux/TwitterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀Twitter bot with JavaScript and Nodejs👨‍💻

Bot that you can use to send tweets to your profile.


Instaler package.json:

npm init --y

Instaler Twitter library:

npm install twitter  

or

npm i twitter

Create a Twitter App in https://developer.twitter.com/en/apps to get API key and access token

  • Click in Create App.
  • imageapp

  • Fill in the required information.
  • Now the application data: Application name, description, example website: botTwitter.com.
  • Click in Create.


  • Find the api key and access token Click in Keys and Tokens:

    imagetonke

  • Copy api key and paste in:
  • consumer_key:'your consumer key'
    
  • Copy api secret key and paste in:
  • consumer_secret:'your consumer secret'
    

    Generate Token down, click on generate:

  • Copy access token and paste in:
  • access_token_key:'your access token'
    
  • Copy access token secret and paste in:
  • access_token_secret:'your access token secret'
    

    As a last step, run the code.

    node server.js
    

    Don't show your API key and access token!

    About

    Bot that you can use to send tweets to your profile (JavaScript,Nodejs)

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published