Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Sending Live Streaming SMS Notifications with PHP and YouTube API

Blog post from Twilio

Post Details
Company
Date Published
Author
Charles Oduk
Word Count
2,360
Company Posts That Month
23
Language
English
Hacker News Points
-
Post removed?
No
Summary

You are live! To send an SMS when a YouTube channel goes live using PHP and the YouTube API with Twilio, you need to create a folder named "Twilio-YouTube", install dependencies, store sensitive information in a `.env` file, connect to a PostgreSQL database, and write functions to check if the channel is live, save video IDs, send SMS notifications, and fetch subscribers' numbers. You can then test your code by running it from the console, create a cron job to run the code in intervals, and add a form on your website for subscribers to sign up. The complete code is available on Github.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 370 126 47 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.