Answer the question
In order to leave comments, you need to log in
How to use OKSDK.REST.call()?
Hello, I'm learning API OK, tell me how to get a list of user groups? I do this:
OKSDK.REST.call("group.getUserGroupsV2", {uid:"121345454"}, function(status, data, error) {});
but returns an error:
{"error_code":100,"error_msg":"PARAM : Only one of session_key or uid must be specified","error_data":null}
Answer the question
In order to leave comments, you need to log in
There is also an anchor - that is, a mark of the current page and count - how much to request.
Implementing a paging request based on this is easy.
Without parameters, group.getUserGroupsV2 returns only 10 groups, if you specify it hard through the count parameter, it will return more, but display all?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question