mirror of
https://github.com/hanzoskill/late-api.git
synced 2026-10-30 21:09:59 +00:00
5.6 KiB
5.6 KiB
Platform-Specific Features
Supported Platforms
| Platform | OAuth | Features |
|---|---|---|
| Twitter/X | Yes | Posts, threads, images, videos |
| Yes | Feed, Stories, Reels, Carousels | |
| Yes | Pages, Reels, Stories | |
| Yes | Posts, images, videos, documents | |
| TikTok | Yes | Videos with privacy controls |
| YouTube | Yes | Videos, Shorts |
| Yes | Pins with images/videos | |
| Yes | Posts with subreddit targeting | |
| Bluesky | App password | Posts, images, videos |
| Threads | Yes | Posts, images, videos |
| Google Business | Yes | Updates, photos, offers |
| Telegram | Bot token | Messages, images, videos |
| Snapchat | Yes | Stories, Spotlight |
Platform-Specific Data
Platform-specific data goes inside each platform entry in the platforms array:
{
"platforms": [
{
"platform": "instagram",
"accountId": "acc_123",
"platformSpecificData": { ... }
}
]
}
Twitter/X
{
"platformSpecificData": {
"threadItems": [
{ "content": "Second tweet" },
{ "content": "Third tweet", "mediaItems": [{ "type": "image", "url": "..." }] }
]
}
}
{
"platformSpecificData": {
"contentType": "story",
"firstComment": "First comment!",
"collaborators": ["username"],
"shareToFeed": true,
"userTags": [{ "username": "user", "x": 0.5, "y": 0.5 }],
"trialParams": { "graduationStrategy": "SS_PERFORMANCE" },
"audioName": "My Custom Audio",
"thumbOffset": 5000
}
}
contentType: "story"publishes as a Story. Default posts become Reels or feed based on media.trialParamsfor Trial Reels (non-followers first):MANUALorSS_PERFORMANCE(auto-graduate)audioNamesets custom label for original audio in ReelsthumbOffsetselects thumbnail frame (milliseconds from start)
TikTok
{
"platformSpecificData": {
"privacyLevel": "PUBLIC_TO_EVERYONE",
"allowComment": true,
"allowDuet": true,
"allowStitch": true,
"contentPreviewConfirmed": true,
"expressConsentGiven": true,
"draft": false,
"commercialContentType": "none",
"videoMadeWithAi": false,
"videoCoverTimestampMs": 1000,
"photoCoverIndex": 0,
"autoAddMusic": false,
"description": "Extended description for photo posts (max 4000 chars)"
}
}
Required fields:
contentPreviewConfirmedandexpressConsentGivenmust betrueallowDuet,allowStitchrequired for videos;allowCommentfor all
Optional fields:
draft: truesends to Creator Inbox instead of publishingcommercialContentType:none,brand_organic,brand_contentbrandPartnerPromote: Whether the post promotes a brand partnerisBrandOrganicPost: Whether the post is a brand organic postmediaType:videoorphoto(auto-detected from media)descriptionfor photo posts when content exceeds 90 chars
YouTube
{
"platformSpecificData": {
"title": "Video Title",
"visibility": "public",
"firstComment": "Check out my other videos!",
"containsSyntheticMedia": false
}
}
visibility:public,private,unlistedfirstComment: Optional comment posted after upload (max 10,000 chars)containsSyntheticMedia: Settruefor AI-generated content disclosure- Videos ≤3 min auto-detected as Shorts; >3 min as regular videos
- Use top-level
tagsarray for video tags (≤500 chars total)
{
"platformSpecificData": {
"title": "Pin Title",
"boardId": "board_123",
"link": "https://example.com",
"coverImageUrl": "https://example.com/cover.jpg",
"coverImageKeyFrameTime": 5
}
}
title: Pin title (max 100 chars, defaults to first line of content)boardId: Target board (uses first available if omitted)coverImageUrl: Optional cover image for video pinscoverImageKeyFrameTime: Key frame time in seconds for video cover
Google Business
{
"platformSpecificData": {
"callToAction": {
"type": "LEARN_MORE",
"url": "https://example.com"
}
}
}
Action types: BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, CALL
{
"platformSpecificData": {
"firstComment": "First comment on the post",
"disableLinkPreview": false
}
}
Supports up to 20 images, single PDF documents (max 100MB), and link previews for URLs.
{
"platformSpecificData": {
"contentType": "story",
"firstComment": "First comment!",
"pageId": "123456789"
}
}
Set contentType: "story" to publish as a Facebook Page Story (24-hour ephemeral). Supports up to 10 images for feed posts.
Threads
{
"platformSpecificData": {
"threadItems": [
{ "content": "Second post in thread" },
{ "content": "Third post", "mediaItems": [{ "type": "image", "url": "..." }] }
]
}
}
Creates reply chains (Threads equivalent of Twitter threads). Supports up to 10 images per carousel.
Telegram
{
"platformSpecificData": {
"parseMode": "HTML",
"disableWebPagePreview": false,
"disableNotification": false,
"protectContent": false
}
}
Parse modes: HTML, Markdown, MarkdownV2. Supports up to 10 images or videos in albums. Max 4096 chars for text-only, 1024 for media captions.
Snapchat
{
"platformSpecificData": {
"contentType": "story"
}
}
Content types:
story- Ephemeral (24 hours), no text captionsaved_story- Permanent on Public Profile, title max 45 charsspotlight- Video for entertainment feed, description max 160 chars