A twitter bot for fetching and sending results from university website
Result.bot.demo.mp4
- Run
git clone [email protected]:ShivamJoker/Twitter-Result-Bot.git
in your Terminal. cd Twitter-Result-Bot
to switch to directoryyarn install
to install all package.json dependencies.- Rename
configExample.js
toconfig.js
and put your details.
- Sign in to Twitter (preferable to create a separate account) and apply for a developer account. [Primary reason: Making a bot]
- Describe your use case and after verification, create an App inside a Project.
- Enable
Read, Write, and Direct Messages
App permissions and3-legged OAuth
to generate your secrets + tokens and save immediately inconfig.js
.
node tweetListener.js
- Post a tweet by mentioning
#niuresult
,#niuresultbot
or@niuresultbot
along with your roll number. - You then receive a screenshot of your results as a reply and a DM from the bot.