TLDR
Twitter's Account Activity API is challenging to understand and work with the new webhook concept. In this post, I hope to explain how it works and build a fun Twitter bot to put these concepts in practice. I'm gonna show you how Twitter webhook works by building @GimmeDadJoke. Whenever you mention the bot in your tweet, it will reply with a dad joke. The jokes are going to be fetched from icanhazdadjoke. It will be written in JavaScript/NJS and deploy it on Zeit Now.via the TL;DR App
no story
Written by alexluong | Hello 👋I write about JavaScript, React, and Gatsby.