To create Yandex Disk records from Odnoklassniki without manual input, use a ready-made scenario.
You can launch this Odnoklassniki + Yandex Disk integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.