Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

JavaScript Picks a T-Shirt Winner w/ Sound

3.2K views
•
September 25, 2018
by
Fireship
YouTube video player
JavaScript Picks a T-Shirt Winner w/ Sound

TL;DR

A live stream showcasing YouTube API code to pick winners for giveaways.

Transcript

hey what's up everybody can you hear me okay hey what's up everybody can you hear me okay if so let me know in the comments so yeah there's that a few second delay on my end so yeah everything's good let me know and then we'll get going cool so yeah first of all we're about to hit 50,000 subs so I just wanted to say thank you to everybody for that ... Read More

Key Insights

  • 💬 Demonstrated programming skills in utilizing YouTube API for real-time comment fetching and winner selection.
  • 🫒 Engaged audience interaction through live stream engagement and announcing winners on the spot.
  • 💬 Utilized asynchronous JavaScript functions for efficient processing and fetching of comments in batches.
  • 👨‍💼 Showcased the potential of using Google APIs for various applications and business opportunities.
  • 🧑‍🏭 Emphasized the uniqueness factor in picking winners fairly and transparently.
  • ⌛ Displayed one-time designed giveaways to add exclusivity and excitement to the winner's experience.
  • ❓ Explored the potential for future content involving Google Maps API integration in educational courses.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the purpose of the live stream in the video?

The live stream celebrates reaching 50,000 subscribers and demonstrates the use of YouTube API to pick winners for giveaways in real time.

Q: How is the YouTube API utilized in the code demonstration?

The YouTube API is used to fetch comments from a specific video, apply unique selection logic, and pick random winners for the giveaway based on the fetched comments.

Q: What unique feature ensures fair selection of winners?

The code utilizes Lodash to ensure all comments are unique, giving equal chances to participants regardless of the number of comments they posted on the video.

Q: Are there plans to expand the use of Google APIs in future content?

The presenter expresses interest in exploring other Google APIs like Google Photos API for potential business opportunities and more interactive content in the future.

Summary & Key Takeaways

  • The content features a live stream celebrating 50,000 subscribers and demonstrating how to use YouTube API to pick winners for giveaways.

  • The presenter expresses gratitude for the support received and discusses future plans for more interactive live streams.

  • Detailed walkthrough of the code implementation using JavaScript for fetching comments from a YouTube video and selecting random winners fairly.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Fireship 📚

When being over-employed goes wrong... thumbnail
When being over-employed goes wrong...
Fireship
How to Build a Video Editing Tool with React and WebAssembly thumbnail
How to Build a Video Editing Tool with React and WebAssembly
Fireship
Build a Chatbot from Scratch - Dialogflow on Node.js thumbnail
Build a Chatbot from Scratch - Dialogflow on Node.js
Fireship
How to Build a RESTful API with Node.js Express thumbnail
How to Build a RESTful API with Node.js Express
Fireship
100+ Computer Science Concepts Explained thumbnail
100+ Computer Science Concepts Explained
Fireship
Vim in 100 Seconds thumbnail
Vim in 100 Seconds
Fireship

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.