Skip to content

fix(inbox): read Instagram profile facts live like the system fields - #1817

Merged
viethung0o0 merged 1 commit into
mainfrom
fix/inbox-ig-profile-live
Nov 29, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
fix/inbox-ig-profile-live

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • The inbox contact panel's Instagram "follows business" and "follower count" are now read live from Instagram, like the ig_follow_business / ig_followers system fields, and fall back to the stored value when Instagram fails or is slow.
  • contacts.get returns the same live values in contactInboxes[]; no new endpoint or parameter.
  • The inbox first load stays on stored values, so the page never waits on Instagram; the panel refreshes them right after.
  • A failed Instagram read is retried at most once a minute, and contacts opened at the same time share one Instagram call.
  • The profile cache is no longer tagged, so it no longer grows an integration-wide tag set.

Test plan

  • Unit tests for variables, builder, worker and database; pnpm check-types; pnpm lint
  • Browser check with fake data and a local fake Graph API (live value, zero/false values, Instagram error, Messenger, public API)

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 29, 2026
@viethung0o0
viethung0o0 marked this pull request as ready for review November 29, 2026 12:14
@viethung0o0
viethung0o0 merged commit ba3ba6c into main Nov 29, 2026
15 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