L
L
lupeidragos2017-03-07 13:53:30
Node.js
lupeidragos, 2017-03-07 13:53:30

What is the correct way to send mediatopic.post with video in attachment?

I'm trying to set up sending posts with video to a group on Odnoklassniki using the mediatopic.post api method.
I get in response
error_data: null,
error_msg: 'PARAM : MOVIE media usage is not enabled.',
error_code: 100
What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vjacheslav Kanivetc, 2017-03-07
@Vjaka

I can be wrong, but in my opinion video is not supported in media topics via mediatopic.post
You can try to do it as a reshar
Or it's easier - to publish a link to a youtube video

A
Alex, 2018-01-10
@Alex_woland

Answer from OK himself:
This block type is currently not supported for external applications.
You can use (for videos previously uploaded to OK) a block like "movie-reshare":
{
"type": "movie-reshare",
"movieId": "14029922"
}

Regards, Odnoklassniki API team

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question