Developer builds YouTube giveaway picker, hits API limits and impossible subscription check
A developer built a YouTube giveaway comment picker tool after a YouTuber needed a transparent, fair way to select winners without bias. Using the YouTube Data API v3, the tool fetches all top-level comments with pagination, filters duplicates, and randomly selects a winner. The project exposed several technical hurdles, including URL parsing bugs triggered by mobile share links with tracking parameters, and the tool's inability to read reply-thread comments. A planned 'must be subscribed to enter' filter was ultimately removed because the API does not allow checking whether a specific user subscribes to a channel. The experience highlighted a gap between how giveaway features are commonly imagined and what YouTube's public API actually permits developers to verify.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in