Answer the question
In order to leave comments, you need to log in
How to get the number of members of the Odnoklassniki group?
I registered the application, got an ID, a public and a secret key. I'm trying to get the number of participants using the group.getInfo method , adding the application's public key to the request and signing the request with a secret one. The request is something like this:
https://api.ok.ru/fb.do?application_key={APP_KEY}&method=group.getInfo&uids=52278482501814&fields=members_count&format=json&sig=7741b0d823d6ca746eddaf90d57f282f
{"error_code":100,"error_msg":"PARAM : Missed required parameter: access_token","error_data":null}
Answer the question
In order to leave comments, you need to log in
The documentation now says that the group.getInfo method requires a session for external applications (I don't know what that means). To get the number of group members, I use the request from the question, add a parameter to it access_token
(does not require user authorization, it can be obtained in the application settings ) and take it into account when signing the request according to the instructions .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question