S
S
Suro Kostanyan2017-11-12 21:02:25
Classmates
Suro Kostanyan, 2017-11-12 21:02:25

How to get the link of a media topic after publishing?

Is it possible to somehow get a link to a media topic after it has been published in a group?
In the method mediatopic.getByIds did not find a way

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Egorichev, 2017-11-13
@MaksimEgorichev

You can’t get a link, but you can create it yourself, knowing the topic id and group id:
https://ok.ru/group/{groupId}/topic/{topicId}

S
Suro Kostanyan, 2017-11-13
@xsurox

And how to get the real id of the group and media topic.
I see they differ in the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question