Before you start
Create the client
Create or pick a project
Turn on the YouTube APIs

Set up Branding and Audience
Add the scopes
Create a Web application client
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.Under Authorized JavaScript origins, add your FRONTEND_URL with no path. Under Authorized redirect URIs, add:https, except for localhost. If this client also serves Google Business Profile, add the same addresses ending in /integrations/social/gmb: see Google My Business setup.Copy the client ID and secret
Set the variables
Add the two keys to your environment: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
Two Google processes stand between a new client and everyone’s public uploads:Publish the app and verify the scopes
Pass the YouTube API audit
Troubleshooting
redirect_uri_mismatch on Google's screen
redirect_uri_mismatch on Google's screen
FRONTEND_URL uses and no trailing slash.Not enough scopes, when choosing a provider, please add all the scopes
Not enough scopes, when choosing a provider, please add all the scopes
Access blocked or access denied on Google's screen
Access blocked or access denied on Google's screen
The sign-in page keeps loading after Google's consent screen
The sign-in page keeps loading after Google's consent screen
invalid_client. Add a new secret to the client, put it in YOUTUBE_CLIENT_SECRET and restart PostQueen.A Google Workspace account cannot connect
A Google Workspace account cannot connect
Every upload is private
Every upload is private