Before you start
Create the app
Sign in to the Developer Console
Buy credits
Create the app
Set up user authentication
- App permissions: Read and write. PostQueen does not need Direct Messages.
- Callback URI / Redirect URL: the callback URL below.
- Website URL: your public site.
Register the callback URL
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.For X the host comes from X_URL when it is set, otherwise from FRONTEND_URL. PostQueen never wraps the X callback through redirectmeto.com, so a plain http address is registered as it is. X compares the URL exactly, trailing slash included, and takes up to 10 per app.Copy the Consumer Keys
X_API_KEY, the API Key Secret in X_API_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.
STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY set), a workspace still in its free trial cannot connect X until the trial ends. Without billing there is no trial, and no lock.App review
X’s getting-started docs describe no review for a pay-per-use app: once it has credits and the settings above, any X account can connect through it. What X does control is spending. When the credits run out or the spending limit is reached, X refuses the requests until you add credits. X’s own account limits still apply to every account that connects: unverified accounts can publish 50 posts and 200 replies a day across every app.Troubleshooting
Callback URL not approved for this client application
Callback URL not approved for this client application
FRONTEND_URL + /integrations/social/x exactly as in step 5, or the X_URL address if you set one.X unlocks when your free trial ends. End the trial to connect it now.
X unlocks when your free trial ends. End the trial to connect it now.
There is a problem posting, please edit your post and check character count and media attachments
There is a problem posting, please edit your post and check character count and media attachments
Posting failed - capped reached. Please try again later
Posting failed - capped reached. Please try again later
X authentication has expired, please reconnect your account
X authentication has expired, please reconnect your account