Skip to content

fix(posts): fill posts from comments and list every network on connect - #1826

Merged
viethung0o0 merged 1 commit into
mainfrom
fix/posts-fill-and-connect-networks
Nov 30, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
fix/posts-fill-and-connect-networks

Conversation

@viethung0o0

@viethung0o0 viethung0o0 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Read TikTok videos from the documented business/video/list/ endpoint, so TikTok posts get their caption, image and counts.
  • Keep Threads error codes, so an expired token asks for a reconnect instead of retrying forever.
  • Save posts created from a comment with their link right away, then fill in caption, image and counts in the background when the first read fails.
  • Read TikTok likes, shares and views, and refresh TikTok counts in batches.
  • Retry temporary Meta read errors instead of stopping the post sync, and ask for a reconnect when a token is revoked.
  • Start the post sync when a post channel is connected.
  • Show "—" for counts a channel has not reported.
  • Link Messenger posts in the Inbox card to the original post.
  • List Facebook, Instagram, Threads and TikTok on Posts → Connect with Connect and Reconnect, also in the API and CLI. Disconnected inboxes are not listed.
  • Add a "None" tag color as the default, and show only colored tags above the Inbox composer.
  • Deploy the worker before the builder.

Test plan

  • pnpm lint and check-types for the touched workspaces
  • Test suites for the touched packages, apps and integrations
  • End-to-end tests for comments on every channel with faked webhooks and channel APIs (pnpm --filter worker test:db)
  • Browser check of Posts, Posts → Connect, the post detail panel, tag colors and the composer tag grid
  • Comment on a real Threads and TikTok post and confirm the post is saved and filled in
  • Reconnect a TikTok account without the video.list scope and confirm its posts fill after the next sync

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 30, 2026
- Read TikTok videos from the documented endpoint and keep Threads error codes
- Save posts created from a comment right away and fill them in the background
- Read TikTok likes, shares and views, and refresh TikTok counts in batches
- Retry temporary Meta read errors and ask for a reconnect when a token is revoked
- Start the post sync when a post channel is connected
- Show "—" for counts a channel has not reported
- Link Messenger posts in the Inbox card to the original post
- List every network on Posts → Connect with Connect and Reconnect
- Add a "None" tag color and show only colored tags above the composer
- Cover post comments end to end for every channel
@viethung0o0
viethung0o0 force-pushed the fix/posts-fill-and-connect-networks branch from 6cfaa31 to bfcfda3 Compare November 30, 2026 14:27
@viethung0o0
viethung0o0 marked this pull request as ready for review November 30, 2026 14:41
@viethung0o0
viethung0o0 merged commit be9394b into main Nov 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants