Coder Social home page Coder Social logo

twitter-bot's Introduction

twitter-bot

A Twitter bot for my account!

license  version  dependencies  last-commit

I started this project with the intention of learning Twitter APIs, and it grew into a nice little bot for keeping track of recent updates on my Twitter.

The code is written in Javascript which runs in node.js environment and is deployed on Heroku.

It demonstrates the following capabilities:

Tweet

Tweet something interesting from any source!

Retweet

Retweet based on a query string and filter conditions.

Follow

Follow a user based on preferences such as hashtags, Sentiment AFINN scores.

Greet New Followers

Greet new followers with a welcome message. An easy way to kick start conversations!

Setup

Follow these steps for setting up your own twitter bot from this repository:

  1. Fork this repository.

  2. Get Developer access on your twitter account, or create a new account. You will get 4 keys from there: API key, API secret key, Access token, Access token secret.

  3. Use the 4 keys/tokens to initialize the Twit code. You can access the documentation at twit for help with this.

  4. Create a Free Tier Heroku account, and create a new app in there. See the node.js deployment page on Heroku for more information.

Have fun!

ko-fi

twitter-bot's People

Contributors

depfu[bot] avatar raravi avatar

Stargazers

 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.