ReviewOS

also looking at this

stacks/postline

feat: crossposting — media (LinkedIn/IG/Threads), OAuth token refresh, and X/Twitter

#30
Merged glennmichael123 wants to merge feat/crosspost-media-and-token-refresh into main
28 files +1810 -109
app/Services/Social/CrosspostService.tsmodified+2-0
Changes to app/Services/Social/CrosspostService.ts
@@ -7,6 +7,7 @@ import { instagram } from './InstagramService'
77import { linkedin } from './LinkedInService'
88import { mastodon } from './MastodonService'
99import { threads } from './ThreadsService'
10import { twitter } from './TwitterService'
1011import { ensureAccount, now, uuid } from './support'
1112
1213const database = db as any
@@ -18,6 +19,7 @@ interface ProviderPublisher {
1819// Each provider owns its own connection/token handling behind `publishToPost`.
1920const publishers: Partial<Record<SocialProvider, ProviderPublisher>> = {
2021 bluesky,
22 twitter,
2123 linkedin,
2224 instagram,
2325 threads,