C
C
chizi_by2017-06-12 15:52:49
Classmates
chizi_by, 2017-06-12 15:52:49

User must grant an access to permission 'LIKE' api ok,oksdk

API OK. I want to check the likes of my classmates' posts, I decided to try like.getSummary in the list to track the current user, I hoped like on Facebook. But then I got an error
{
error_code:10
error_msg:PERMISSION_DENIED : User must grant an access to permission 'LIKE'
error_data:like
}
Requesting all possible rights:

https://connect.ok.ru/oauth/authorize
?client_id=1250016512
&scope=VALUABLE_ACCESS;GET_EMAIL;APP_INVITE;LONG_ACCESS_TOKEN;PHOTO_CONTENT;GROUP_CONTENT;VIDEO_CONTENT;
&response_type=token
&redirect_uri=https://apiok.ru/oauth_callback

Maybe how to get access, did not find information.
Or a more correct way to check the like of a post.
Having tried via
https://odnoklassniki.github.io/ok-js-sdk/oksdk.js
Got the same error. I hope for your help. (fb, vk, tw already done)
Standard permissions enabled (SET_STATUS PHOTO_CONTENT). Where can I get the rest of the rights?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2017-06-13
@chizi_by

Write to [email protected] with a request to get specific rights and a description of why you need them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question