Content Deep Dive
Get Notified When Someone Posts An Article From Your Domain on Hacker News Using Node.js, Firebase and Twilio
Blog post from Twilio
Post Details
Company
Date Published
Author
Ricky Robinett
Word Count
1,347
Language
English
Hacker News Points
-
Summary
The author, Ricky Robinett, built an application using Node.js, Firebase, and Twilio to receive SMS notifications when someone posts a link to his domain on Hacker News. The app uses the Hacker News API's Firebase integration to listen for changes in the first element of the new stories array, which is updated whenever a new story is added. Once a notification is received, the app fetches information about the specific story using the item ID and checks if the URL links to the author's domain, sending an SMS notification via Twilio if it does. The author shares his code and encourages readers to try building their own apps with the Hacker News API.