OK (Odnoklassniki)
SocialOK accountYour own appApp review firstAccepted, with a link
How to connect OK (Odnoklassniki) to Postbroad, what a post there may hold, and how Postbroad checks it went live. You connect your own OK (Odnoklassniki) account, through an app of your own; Postbroad never provides an app or an account.
#What you need
- An OK app made at ok.ru/devaccess, with sign-in from other sites added and this page's redirect URL in its list
- In the App ID field: the application ID and the public key, joined by a colon. In the secret field: the secret key
- Group posting and photo rights for the app, which OK gives on request to api-support@ok.ru
- You are: an administrator, editor or moderator of the OK group
- The redirect URL to add to your app:
https://app.postbroad.com/oauth/callback/odnoklassniki. The connect page in Postbroad shows the same address with a copy button. - App review: yes. See the review for what works before it ends.
Checked on 8 Nov 2026 against OK (Odnoklassniki)'s own documentation.
#Set up, step by step
#On OK
- Request developer rights at ok.ru/devaccess with your OK account, which needs an email address.
- Once approved, add an app (Games, My downloads, Add app), give it a title and turn on the OAuth platform.
- Add the redirect URL from Postbroad to the app's redirect_uris list.
- OK emails the app's ID and keys to the address on your account. In Postbroad, enter the application ID and the public key joined by a colon, then the secret key.
- Write to api-support@ok.ru with the app ID and ask for group posting (GROUP_CONTENT) and photo (PHOTO_CONTENT) rights.
#In Postbroad
- Open the brand you post for, choose Connect an account, then Connect OK (Odnoklassniki).
- Under Add your OK (Odnoklassniki) app, paste the Application ID and public key and the Secret key, then choose Save and continue. Postbroad saves the app, tests it, says in plain words what the test found and, when the keys work, opens OK (Odnoklassniki) for you to sign in. The step that asks for the redirect URL shows it, with a copy button.
- OK (Odnoklassniki) opens in a new window: sign in and allow what Postbroad asks for. Postbroad notices you are back and moves on by itself.
- Under Choose where posts go, tick each account or page to use and the brand it belongs to, then choose Connect. With one account and one brand there is nothing to choose: it is connected at once.
#Permissions and why
What OK (Odnoklassniki) asks you to allow when you connect, and what Postbroad does with each.
| Permission | Why Postbroad asks |
|---|---|
VALUABLE_ACCESS | See which OK account you signed in with, and read posts back. |
GROUP_CONTENT | List your groups and post in the ones you pick. |
PHOTO_CONTENT | Upload the pictures of a post. |
#The review
- Posting in groups needs the GROUP_CONTENT right and photos the PHOTO_CONTENT right. OK grants both on request to api-support@ok.ru.
#Posting rules
| In one post | On OK (Odnoklassniki) |
|---|---|
| Text | yes |
| Pictures | yes |
| Video | no |
| Carousel | no |
| Thread of replies | no |
| First comment | no |
| Long article | no |
| Needs a picture or video | no |
Extra options: link preview.
Text: no fixed number of characters.
Mediatopic.post names no text limit.
| Media | File types | Largest file | Longest | Size |
|---|---|---|---|---|
| Picture | JPEG, PNG, GIF | not stated | not stated | not stated |
#Limits
OK (Odnoklassniki) documents no rate limit. Postbroad slows down when OK (Odnoklassniki) says so and waits as long as it asks.
A post that OK (Odnoklassniki) is still processing after 30 minutes stays accepted: OK (Odnoklassniki) took the upload, so it is never reported as failed.
#How Postbroad checks it is live
Accepted, with a link: OK (Odnoklassniki) accepts the post and gives back its address, which Postbroad keeps with the delivery.
Evidence, in order: the post read back and matched to what was sent; the network's acknowledgement. Until a live run confirms this ladder, Postbroad relies on the network's acknowledgement only.
Before a retry:
- Posting (
mediatopic_post): The network offers no deduplication and no lookup. After an unclear outcome Postbroad does not retry by itself: the delivery becomes unknown and a person decides.
Only failed deliveries are retried, and nothing is posted twice. See what live means.
#Good to know
- Group posting needs GROUP_CONTENT, granted by OK on request (api-support@ok.ru).
- Almost no REST method has a call limit; a limit shows as FLOOD_BLOCKED (apiok.ru/dev/limits, 2026-11-06).
- Errors come as JSON with
error_codeanderror_msg(apiok.ru/dev/errors, 2026-11-06).
#When something is off
| What the app shows | What to do |
|---|---|
| Test failed, check this setting | Fix the named setting in your app on OK (Odnoklassniki) (the redirect URL, the App ID, the secret or a permission), then choose Test the app again. |
| We couldn't connect OK (Odnoklassniki) | Nothing was changed. Start again, and allow everything the network asks for. |
| Missing a permission | Reconnect OK (Odnoklassniki) and allow what it asks for. The connection says which permission is missing and what it blocks. |
| Needs reconnect | OK (Odnoklassniki) no longer accepts the sign-in or the key. Reconnect the account: its history and schedule are kept, and waiting posts go out after. |
| Signing out soon | Reconnect before the date shown, so scheduled posts keep going out. |
#Use it from code and agents
In the API, each connected OK (Odnoklassniki) account is a channel. Post to it with its channel id in POST /v1/posts (see the quickstart), and read this network's full spec with GET /v1/networks/odnoklassniki. An agent connected through the MCP server posts here when you ask it to post to OK (Odnoklassniki).
#Sources
apiok.ru/en/dev/app/create, read 8 Nov 2026id.vk.com/about/business/go/docs/ru/vkid/latest/oauth/oauth-ok/server, read 6 Nov 2026apiok.ru/dev/app/create, read 6 Nov 2026apiok.ru/dev/methods/rest/mediatopic/mediatopic.post, read 6 Nov 2026apiok.ru/dev/examples/photo_upload, read 6 Nov 2026apiok.ru/dev/methods/rest/group/group.getUserGroupsV2, read 6 Nov 2026apiok.ru/dev/methods/rest/users/users.getCurrentUser, read 6 Nov 2026apiok.ru/dev/methods/rest/mediatopic/mediatopic.getByIds, read 6 Nov 2026
Last generated 19 Nov 2026, from the same manifest Postbroad checks every post against.