1
Create an app in the VK developer portal
Sign in to VK and create an application in the developer portal. She uses the VK ID authorization flow, which runs against
id.vk.com, and she asks for these scopes:wall is the one that lets her post, and photos and video are what the uploads need.2
Configure the OAuth2 Redirect URI
Your VK OAuth2 Redirect URI:
- Production:
https://postqueen.example.com/integrations/social/vk - Local development:
https://redirectmeto.com/http://localhost:4200/integrations/social/vk - Docker:
https://redirectmeto.com/http://localhost:4007/integrations/social/vk
3
Set the environment variable
VK issues no client secret for this flow, so there is exactly one value to set.That is the application id from your VK app. She sends it on the authorization request, on the token exchange and on every wall call, so it stays in use for the life of the channel.
4
Add the VK channel
Restart PostQueen so the new variable is read. With Docker Compose, run
docker compose down and then docker compose up.In the web interface click Add Channel and pick VK, then accept the request on the VK side.Add Channel does not check whether VK_ID is set, so a missing value shows up as a broken authorization page on the VK side rather than a helpful message in PostQueen.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 VK
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