I
I
Ivan2018-07-19 21:24:11
API
Ivan, 2018-07-19 21:24:11

How to get a list of groups with permission to publish?

Good evening everyone.
I encountered such a problem when working with the Odnoklassniki API: you need to get a list of user groups in which he has the rights to post publications in the feed.
Using the group.getUserGroupsV2 method, I get a list of all user groups, the response comes with group IDs. I get information on these groups using the group.getInfo method, passing the ID from the previous request.
I can't figure out how to filter out groups in which the user does not have permission to post. I understand that there is no corresponding field? Maybe someone will suggest a good solution.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2018-07-20
@trei

in the response it gives such a parameter as "attrs" with flags for example "ap,at,gpt,gdt,av,ca,inv,gme,gps,gsa,gda,gta,gea,gph". If it is suspected that this attribute contains permissions for user actions. Is it so? I did not find information in the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question