Troubleshooting & token guides
Step-by-step instructions for connecting LinkedIn, Facebook, and Instagram to ContentFlows. Each platform requires you to get an access token from their developer portal and paste it into your dashboard.
How tokens work in ContentFlows
Each token gives ContentFlows permission to publish on your behalf. Tokens are stored in AWS Secrets Manager — encrypted, never logged, and isolated to your account. ContentFlows never stores your social media password.
ContentFlows uses the LinkedIn UGC Posts API to publish posts on your behalf. You need an access token with the w_member_social permission scope.
Prerequisites
- A LinkedIn account (personal profile) — posts will be published from this account
- A free LinkedIn developer account — you create one automatically when you create an app
Step-by-step
Go to the LinkedIn Developer Portal
Fill in the app details
- App name: anything — e.g. “ContentFlows Publisher”
- LinkedIn page: you must link a LinkedIn Company Page. If you don't have one, create a basic company page first (free).
- App logo: upload any square image
Request the 'Share on LinkedIn' product
Add your redirect URI
https://www.linkedin.com/developers/tools/oauth/redirectClick Update to save.
Generate an access token
Select your app, tick the
w_member_social scope (and r_liteprofile if available), then click Request access token. LinkedIn will ask you to authorize the app — click Allow. Your access token appears on screen. Copy it — it won't be shown again.Paste the token into ContentFlows
ContentFlows publishes to a Facebook Page (not a personal profile). You need a Page access token with pages_manage_posts permission.
Prerequisites
- A Facebook account that is an Admin of a Facebook Page
- If you don't have a Facebook Page yet, create one at facebook.com/pages/create (free, takes 2 minutes)
Step-by-step
Open the Meta for Developers portal
Select app type and fill in details
- App name: e.g. “ContentFlows”
- App contact email: your email
Add the Facebook Login product
Get a token from the Graph API Explorer
- In the top-right dropdown, select your app
- Click Generate Access Token
- In the permissions popup, check:
pages_manage_posts,pages_read_engagement - Click Generate Access Token and authorize
Exchange for a Page access token
GET /me/accountsClick Submit. In the JSON response, find your Page and copy its
access_token value.Extend the token (optional but recommended)
Paste the token into ContentFlows
Instagram publishing uses the Facebook Graph API — so your Instagram account must be a Professional account (Business or Creator) linked to a Facebook Page. Personal Instagram accounts cannot publish via API.
Prerequisites
- An Instagram Business or Creator account (not a personal account)
- That Instagram account linked to a Facebook Page you manage
- A Meta developer app with
instagram_content_publishpermission
Convert to a Professional account (if needed)
Switch account type in the Instagram app
Link Instagram to your Facebook Page
Get an Instagram access token
Open the Graph API Explorer
instagram_basic, instagram_content_publish, pages_read_engagement, pages_manage_postsFind your Instagram Business Account ID
GET /me/accountsIn the response, find your Page. Copy its
id. Then run:GET /{page-id}?fields=instagram_business_account(replace
{page-id} with your Page ID). Copy the id from the instagram_business_account object.Get a Page access token for the linked Page
GET /me/accounts again and copy the access_token for the Page linked to your Instagram account. This is the token ContentFlows needs.Paste the token into ContentFlows
Common issues
Token is invalid or expired
Access tokens expire. LinkedIn tokens last 60 days; Facebook/Instagram Page tokens can be long-lived (60 days if short-lived, or never-expiring if generated via a System User). Generate a new token and update it in the Integrations tab.
Insufficient permissions on LinkedIn
Your LinkedIn app does not have the Share on LinkedIn product approved, or the token was generated without the w_member_social scope. Go back to step 3 of the LinkedIn guide and ensure the product is approved, then regenerate the token.
You must be an admin of the Facebook Page
The Facebook account you used to generate the token is not an Admin of the target Page. Ask the Page admin to either generate the token themselves, or add you as an Admin at facebook.com → Page settings → Page roles.
Instagram: this account is not a Business or Creator account
Personal Instagram accounts cannot use the Content Publishing API. Follow the steps above to convert to a Professional account first.
Instagram: account not linked to a Facebook Page
Your Instagram Professional account is not connected to a Facebook Page. Go to Instagram Settings → Account → Linked Accounts → Facebook and complete the link.
Still stuck?
Contact support with the error message you are seeing and which platform you are trying to connect. Include the step number from this guide where you got stuck.
Also see: Connecting channels overview · Getting started guide