Skip to content

A twitter bot for fetching and sending results from university website

License

Notifications You must be signed in to change notification settings

ShivamJoker/Twitter-Result-Bot

Repository files navigation

Twitter-Result-Bot

A twitter bot for fetching and sending results from university website

Result.bot.demo.mp4

tweet demo image

Instructions

  1. Run git clone [email protected]:ShivamJoker/Twitter-Result-Bot.git in your Terminal.
  2. cd Twitter-Result-Bot to switch to directory
  3. yarn install to install all package.json dependencies.
  4. Rename configExample.js to config.js and put your details.

Getting Twitter keys and secrets for config.js

  1. Sign in to Twitter (preferable to create a separate account) and apply for a developer account. [Primary reason: Making a bot]
  2. Describe your use case and after verification, create an App inside a Project.
  3. Enable Read, Write, and Direct Messages App permissions and 3-legged OAuth to generate your secrets + tokens and save immediately in config.js.

Running

node tweetListener.js

Usage

  1. Post a tweet by mentioning #niuresult, #niuresultbot or @niuresultbot along with your roll number.
  2. You then receive a screenshot of your results as a reply and a DM from the bot.

About

A twitter bot for fetching and sending results from university website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published