YouTube publishing splits into two post types with very different rules:
Shorts (vertical, ≤3 min) and long-form videos (up to 4 hours).
Comments arrive via Google's PubSubHubbub feed.
Capabilities
| |
|---|
| Publish | ✅ Shorts, long-form video |
| Insights | ✅ |
| Fetch comments | ✅ |
| Reply to comments | ✅ |
| Like comments | ➖ |
| Send DM | ➖ |
| Delete post | ➖ |
| Comment automation | ✅ (reply) |
Post types & media limits
Shorts
| Constraint | Value |
|---|
| Files | 1 video (required) |
| Max size | 5 GB |
| Duration | max 3 min (180 s) |
| Aspect ratio | 1:3 to 1:1 (vertical or square) |
| Constraint | Value |
|---|
| Files | 1 video (required) |
| Max size | 5 GB |
| Duration | max 4 hours (14,400 s) |
| Aspect ratio | 1:3 to 3:1 |
Text limits
text (title): 100 characters.
description: 5,000 characters.
How data arrives
YouTube comments are delivered as an Atom feed via Google's PubSubHubbub
hub to /api/youtube/webhook. The hub GETs the URL to verify intent (we echo
the hub.challenge), then POSTs new comment entries. The handler is idempotent
so hub retries are safe. See Webhooks.
Connect notes