A live stream that puts itself on the homepage
The church needed its Sunday service where visitors would actually find it: when the service goes live, it shows up on the homepage by itself, and disappears when it’s over. No one has to remember to post a link.
- A custom Cloudflare Worker checks the church’s Facebook Page for a live video and serves it to the homepage — only while they’re live.
- Ongoing maintenance included: when the stream went down overnight, the cause was traced to an expired Facebook token — a fresh long-lived Page token was generated, redeployed, and the newest sermon verified as coming through.
- The sermons page now links past services straight to the church’s video archive.
Cloudflare Workers · Facebook Graph API · WordPress · JavaScript