← ClaudeAtlas

social-post-commentslisted

Pull the comments, metadata (title, author, views, likes, upload date, description, thumbnail) and media files off a public YouTube, Shorts, TikTok, Instagram, or other social post programmatically. Use when the user wants "the comments on this video", audience reactions, engagement numbers, a post's description or thumbnail, or a dataset of posts to analyse. Covers official platform APIs (when they exist), yt-dlp with --write-comments and its per-platform gaps, the bot-wall and cookie problems that stop it on servers, and the paid Post Reef API as a hosted alternative.
franciscobmacedo/postreef-skills · ★ 0 · DevOps & Infrastructure · score 73
Install: claude install-skill franciscobmacedo/postreef-skills
# Comments and metadata from a social post Three honest routes, in order of preference: official API where one exists, yt-dlp when it works from where you're running, a hosted extractor when it doesn't. Pick per platform; don't assume one tool covers all of them. ## 1. Which route works where (as of this skill's writing; verify if it matters) | Platform | Official API for comments | yt-dlp metadata | yt-dlp comments | Notes | |---|---|---|---|---| | YouTube | Yes: Data API v3 `commentThreads.list` (API key, 10k units/day free quota, 1 unit per page of 100) | Yes | Yes (`--write-comments`), slow past a few hundred | Best-covered platform. Bot-wall from datacenter IPs applies to yt-dlp, not to the Data API | | TikTok | No public comments API for arbitrary posts (Research API is application-gated) | Yes, usually needs a desktop browser UA | **No**: `--write-comments` returns nothing even when `comment_count` > 0 | Comments need the private web API or a browser session | | Instagram | Graph API only for accounts you own/manage | Partial; often needs cookies | Inline comments come back with the post metadata (a handful, not the thread) | Logged-out fetching is unreliable; photo posts/carousels error on "no video" unless you pass `--ignore-no-formats-error` | | Facebook | Graph API only for your own pages | Public videos: yes | **No** via yt-dlp | Many videos are login-walled ("only available for registered users") | | X/Twitter | Paid API tiers only | Yes for video posts | No |