M
M
Maxim2017-06-16 13:04:43
Classmates
Maxim, 2017-06-16 13:04:43

How to get information about the user in the discussions.getComments object?

There is a method Retrieving comments
. It has an additional fields field, you can extract from it the first name, last name about the user who left the comment, as well as his photo, etc.
Prescribed fields on the mediatopic method

'media_topic.like_summary,media_topic.reshare_summary'

but here, something is not rolling
user.photo
users.photo

etc.
How to get information?
PS responsible guys from the Odnoklassniki team, your api is very clear, you never even have questions

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Egorichev, 2017-06-19
@maximkv25

And in any way to not receive through this method.
You can get the author_id, and then use this id to get data about the user through a method, for example, https://apiok.ru/dev/methods/rest/users/users.getInfo
The documentation is incomprehensible in places, yes. And we want to make it better and clearer. So if you have questions and comments about it, then be sure to write what you would like to see in the documentation, your opinion will be taken into account. User feedback is exactly what we need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question