How to open a site as an app in Odnoklassniki

← Back

Publish your VK mini app in Odnoklassniki on dev.vk.ru and enter its OK ID in the same section with the app_vk module.

  1. First, set up the VKontakte mini app: a section with the app_vk module (see the article about VK).
  2. On dev.vk.ru, in this app, enable "Publish in Odnoklassniki".
  3. Copy the app's OK ID: it is shown below the VK ID.
  4. Enter it in "Module settings" of the same section, in the "App OK ID (Odnoklassniki)" field, and save.
  5. Check the section summary: there should be a note "App OK ID specified (for Odnoklassniki, optional)".

The app address and secure key remain the same as for VK. Odnoklassniki users get their own site accounts, separate from VKontakte accounts.

Payment inside the Odnoklassniki app is closed, as in VK mobile apps. On payment pages, "Payment on the platform is unavailable" is shown.

New apps are no longer created on ok.ru itself — they are set up via dev.vk.ru.

If it didn't work

  • You land in the wrong place from Odnoklassniki. The section is selected by the ID from the launch. Check that the OK ID is entered in the correct section.
  • A person from OK doesn't see purchases made on VKontakte. These are different site accounts — that's how it works.
Did the article help?

See also

Tips for working with the builder

The "Help" section is made for those who are building a website on "Pervaya Liniya" for the first time. It contains answers to common questions: how to create a website, what to write in the fields, how to edit texts and photos, how to connect your own domain, and how to set up sections. The materials will help you figure things out without contacting support.

The builder is simple: you fill in the fields on the creation page, and then edit the content directly on the finished website. If something does not work or is unclear, check the relevant help item. The instructions are written in plain language and describe every step.

In Help you will find answers to questions:

  • how to come up with a website address and what to do if the name is taken;
  • how to change the title, description, and other texts on the page;
  • how to add products, services, or request forms;
  • how to connect your own domain instead of an address on firstline.com.ua;
  • how to set up sections and modules for your business needs.

If you cannot find the answer you need, use the feedback form — we will help you figure it out. The section is updated so that you can always find current information about working with the builder.