ReviewOS

also looking at this

stacks/postline

feat: crosspost to LinkedIn and Instagram

#1
Merged chris wants to merge feat/crosspost-linkedin-instagram into main
31 files +2335 -87
.env.examplemodified+27-0
Changes to .env.example
@@ -103,3 +103,30 @@ FRONTEND_STRIPE_PUBLIC_KEY=
103103# Create an app password at https://bsky.app/settings/app-passwords
104104BLUESKY_IDENTIFIER=
105105BLUESKY_APP_PASSWORD=
106
107# LinkedIn (optional — connect via Accounts, or set a pre-obtained token below)
108# 1. Create an app at https://www.linkedin.com/developers/apps
109# 2. Add the "Sign In with LinkedIn using OpenID Connect" and "Share on LinkedIn" products
110# 3. Add the redirect URL below to the app's "Authorized redirect URLs"
111LINKEDIN_CLIENT_ID=
112LINKEDIN_CLIENT_SECRET=
113LINKEDIN_REDIRECT_URL=https://postline.localhost/api/postline/linkedin/callback
114# Bump if LinkedIn deprecates this monthly REST API version (YYYYMM)
115LINKEDIN_API_VERSION=202405
116# Env-only shortcut: paste a member access token (w_member_social) to skip the
117# OAuth flow. Optionally set the author URN to avoid an extra profile lookup.
118LINKEDIN_ACCESS_TOKEN=
119LINKEDIN_AUTHOR_URN=
120
121# Instagram (optional — posts REQUIRE an image URL; text-only is rejected)
122# Uses the Facebook Graph API: create a Meta app, add Instagram + Facebook Login,
123# link an Instagram Business/Creator account to a Facebook Page.
124INSTAGRAM_CLIENT_ID=
125INSTAGRAM_CLIENT_SECRET=
126INSTAGRAM_REDIRECT_URL=https://postline.localhost/api/postline/instagram/callback
127# Bump if Meta deprecates this Graph API version
128INSTAGRAM_GRAPH_VERSION=v21.0
129# Env-only shortcut: a Page access token + the IG Business account id skip OAuth.
130INSTAGRAM_ACCESS_TOKEN=
131INSTAGRAM_USER_ID=
132INSTAGRAM_USERNAME=