Z
Z
zerofirst2017-05-03 13:00:56
Classmates
zerofirst, 2017-05-03 13:00:56

How to get a list of publications in a group through the Odnoklassniki API?

Task: export posts in a group for a certain period.
What type of application is needed for this?
Approximate algorithm:
1) (optional) url.getInfo - get group id ( something like this )
2) (optional) group.getInfo - get basic information ( probably like this )
3) group.getStatTopics - get information about posts in the group
here problem: request without session returns SESSION_REQUIRED or "PARAM : Missed required parameter: access_token" error for different application types, and attempt to make request on pageusing OAUTH returns "PERMISSION_DENIED : User must grant an access to permission 'GROUP_CONTENT'" even though "scope=GROUP_CONTENT;VALUABLE_ACCESS" permissions were requested to create the token.
How should the application be configured? In addition to defining the external type and allowing client OAuth authorization, what else needs to be configured?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2017-05-08
@zerofirst

You need to request permission for GROUP_CONTENT from the moderators via [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question