This integration requires that you have a TikTok developer account. It also requires that you have a public website, with https, and can upload files to that site to verify ownership.TikTok will also not allow http:// for your app redirect URI, so you will need to be accessing PostQueen from HTTPS.
1
Create your app
Go here: https://developers.tiktok.com/apps

- App Name:
MyPostQueen - Redirect URI: your PostQueen callback URL, shown in the next step
- Production:
https://postqueen.example.com/integrations/social/tiktok - Local development (HTTPS required):
https://localhost:4200/integrations/social/tiktok - Docker (HTTPS required):
https://localhost:4007/integrations/social/tiktok
2
Set a TOS and Privacy Policy
This needs to be on a public domain that you have access to, that is hosted on HTTPS.Tick “Web” for your platforms.
3
Add apps
Add the “Login Kit” and “Content Posting API” to your app.For “Login Kit”, set the redirect URI to the same value you registered two steps back. It is one URI across the app, not a second one just for Login Kit.For Content posting API, enable “Direct Post”.
4
Add scopes
Add all six. The connect is refused if any one of them is missing, and
video.create is not one of them:- user.info.basic
- user.info.profile
- user.info.stats
- video.list
- video.upload
- video.publish
5
Copy your client secret to environment variables
These can be found immediately after registering your application. The client ID is 16 characters long and the secret is 32 characters long.Restart PostQueen with the updated environment variables
6
Add a TikTok channel in the PostQueen web interface
Go to the PostQueen web interface, and click on the “Add Channel” button. Select “TikTok” from the list of available channels. You should be redirected to TikTok to authorize the application.
The channel is in the left sidebar with its avatar and name. That is the whole confirmation: if it is in the list, she can post to it.
Next steps
What she can post to TikTok
Limits, post types and settings
Configuration reference
Every variable she reads
Connect errors
Invalid state, invalid_grant and the rest
Another channel
Every network, and what each one asks for