Before you start
Instagram (Facebook Business)
This tile uses the Facebook app. Create it with Facebook setup, then make sure of two things on that app:Add the Instagram redirect URI
FRONTEND_URL + /integrations/social/instagram, for example https://postqueen.example.com/integrations/social/instagram. The tile sends FRONTEND_URL as it is, so the URI stays plain, http included.Check the Instagram permissions
instagram_basic, instagram_content_publish, instagram_manage_comments and instagram_manage_insights. The tile also asks for pages_show_list, pages_read_engagement and business_management, which the Facebook setup added.Instagram (Standalone)
Create a separate app
Add the Instagram product
Copy the Instagram app ID and secret
Set up Instagram business login

FRONTEND_URL + /integrations/social/ + the network’s identifier, for example
https://postqueen.example.com/integrations/social/pinterest.Most networks need exactly one URI, with no trailing slash. Two exceptions: TikTok Business needs
the trailing slash (/integrations/social/tiktok-business/), and a Google web client that also
serves Google Business Profile lists both /integrations/social/youtube and
/integrations/social/gmb. Channel developer apps lists every
network’s ending.Instagram Login accepts only https redirects. When FRONTEND_URL is plain http, PostQueen sends the callback through https://redirectmeto.com/ first, and that wrapped address is the one to register:Set the callback URLs
- Deauthorize callback URL:
NEXT_PUBLIC_BACKEND_URL+/integrations/instagram-standalone/platform-deauthorize - Data deletion request URL:
NEXT_PUBLIC_BACKEND_URL+/integrations/instagram-standalone/platform-deletion
https://postqueen.example.com/api, the first is https://postqueen.example.com/api/integrations/instagram-standalone/platform-deauthorize. Removing the app on Instagram flags that account’s channels for reconnection, and a deletion request deletes them and their posts. Meta only calls a public https address, so skip this step on a local install.Check the permissions
instagram_business_basic, instagram_business_content_publish, instagram_business_manage_comments and instagram_business_manage_insights. Do not add instagram_business_manage_messages or any pages_* permission to this app.Add the Instagram accounts that will connect
Set the variables
Add the keys for the tiles you set up:docker restart or
docker compose restart keeps the old container and its old environment.
In the folder that holds docker-compose.yaml, recreate only the postqueen service:
docker compose down for a settings change: on
a host that runs other Compose services in the same project, it stops them too.
Then open PostQueen, go to Channels, choose Add Channel and pick this network. You are
sent to its login to authorize PostQueen, and the channel appears in the Channels list once you
accept.
App review
Both apps start in Development mode. Until they are reviewed, only accounts with a role on the app can connect, and posts made in development are visible only to those accounts.- Your own accounts. Standard Access is enough for accounts you own or manage. Switch App Mode to Live so that everyone can see the posts. Meta asks for the display name, a contact email, a privacy policy URL and a terms of service URL in App settings > Basic first.
- Other people’s accounts. Request Advanced Access for each permission and verify your business portfolio. On the Standalone app, start from 4. Complete app review in Instagram > API setup with Instagram login; on the Facebook app, use App Review > Permissions and Features. Meta asks for a description and a screen recording of how the app uses each permission, and for at least one successful API call per permission. Request only the permissions this page lists.
Troubleshooting
Insufficient developer role
Insufficient developer role
Invalid redirect_uri on Instagram's login screen
Invalid redirect_uri on Instagram's login screen
http install, register the redirectmeto.com address from step 4, not the bare localhost one.Not enough scopes, when choosing a provider, please add all the scopes
Not enough scopes, when choosing a provider, please add all the scopes
Invalid Scopes on Facebook's consent screen
Invalid Scopes on Facebook's consent screen
We couldn't find any business connected to the selected pages.
We couldn't find any business connected to the selected pages.
Related
- Facebook setup: the app the Facebook Business tile shares.
- Channel developer apps
- Configuration reference
- Self-hosting troubleshooting
- Instagram posting settings