Code Monkey home page Code Monkey logo

twitter-comment-bot's Introduction

Tweet Twitter Comment Bot

This Twitter Comment bot comments on tweets containing a specified keyword. The bot uses the OpenAI API to generate comments and the Twitter API to post them. It is designed to run continuously, with a fixed delay between each comment.

๐Ÿง‘โ€๐Ÿ’ป Technologies used

  • Node.js
  • Axios
  • twit
  • Twitter API
  • OpenAI API

๐Ÿฆพ How it works

  • The bot uses the Twitter API to search for tweets containing the specified keyword.
  • For each tweet found, the bot uses the OpenAI API to generate a comment.
  • The bot then uses the Twitter API to post the generated comment as a reply to the tweet.
  • The bot waits for a fixed amount of time before searching for new tweets again.

๐Ÿ‘ฟ Requirements

  • A Twitter developer account and API keys (with elevated access)
  • An OpenAI API key

๐Ÿš€ Deploying to Heroku

The bot can be easily deployed to Heroku to run 24/7. Follow the steps in the Heroku documentation to set up a Heroku account, create a new app, and deploy the code. Don't forget to set up the environment variables in the Heroku app's settings.

Could you please spread the word through Twitter โžก๏ธ Tweet

๐Ÿ’ป Unlock full potential of Twitter Comment Bot with Professional Assistance

I am glad to make this bot available for you to use, If you need help in setting this up on AWS or Heroku, I am willing to assist you. However, please note that this service comes at a cost.

Project Notice

โš ๏ธ Warning: This project uses Twitter API v1, which is now deprecated.

Starting from now, all bots must be developed using the Twitter API v2.

I can help you migrate your project to the new API. Feel free to contact me here for assistance.

To verify this deprecation and learn more, please visit this link.

twitter-comment-bot's People

Contributors

alanfromindia avatar restyled-commits avatar sojinsamuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.