Docs / Stackposts

Odnoklassniki API

Odnoklassniki API Integration The Odnoklassniki API module allows administrators to connect the Stackposts platform with Odnoklassniki (OK.ru), enabling publishing, authentication,...

Estimated reading: 1 minutes

Odnoklassniki API Integration

The Odnoklassniki API module allows administrators to connect the Stackposts platform with Odnoklassniki (OK.ru), enabling publishing, authentication, and social automation features via the OK.ru API.


⚙️ Configuration Fields

To enable the integration with Odnoklassniki:

  • Status

    • Enable: Activates API usage for Odnoklassniki.

    • Disable: Turns off the integration.

  • App ID
    Your application’s unique ID registered on OK.ru.
    Example: 512004502208

  • App Secret
    Secret key used for server-to-server communication.
    Example: CBBMIIJGDGFFABABA

  • API Key
    The public API key provided for application-level requests.
    Example: FC2B415D2123C6D4BBDA3D1A


🔁 Callback & App Setup

  • Callback URL:

    https://yourdomain.com/app/ok/group

    This must be registered in your Odnoklassniki developer app settings

  • Create App:
    Create or manage your application via:
    https://ok.ru/dk?st.cmd=appEditBasic


💾 Save Settings

Click Save changes to apply the configuration. The platform will use these credentials to communicate securely with OK.ru for publishing and user actions.


✅ Notes

  • Make sure the callback URL exactly matches the one configured in your OK developer dashboard.

  • Verify that your app has the necessary permissions (e.g., posting to group walls or user feeds).

  • Keep your App Secret and API Key secure—store them in environment files on production servers.