GithubHelp home page GithubHelp logo

suzeshardlow / twitter_bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 7 KB

A bot that looks for keywords in tweets and replies with a set message.

Home Page: https://twitter.com/SuzeTBot/with_replies

License: MIT License

JavaScript 100.00%
twitter-api twitter-bot node-js nodejs javascript tweets tweet bot

twitter_bot's Introduction

TwitterBot

The original doge

This is a bot that looks for the keyword "doge" in two tweets and replies to both those tweets with the message "Doges are very fun." with a delay of five seconds between the replies.

To run this bot, you will need to create an app using your Twitter account and add your keys into the code at lines 8, 9, 10 and 11 in app.js (my keys are secret).

You can set up a Twitter app here: https://apps.twitter.com/app/new.

As well as the files above, you will need to download Node.js. In the directory containing the app files, run npm install.

To run the bot, type node app.js.

Have fun!

More information about the doge: https://en.wikipedia.org/wiki/Doge_(meme).

twitter_bot's People

Contributors

suzeshardlow avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

twitter_bot's Issues

Length is not specified issue

Hi,

When I run app.js I am getting "for (let i = 0; i < tweetList.length; i++)" length is not specified. How can I fix this? TypeError: Cannot read property 'length' of undefined

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.