Answer the question
In order to leave comments, you need to log in
How to specify the necessary rights during OKSDK.init() initialization?
var config = {
app_id: 0,
app_key: '',
scope : 'GROUP_CONTENT;VALUABLE_ACCESS;PHOTO_CONTENT;'
};
OKSDK.init(config, function() {
OKSDK.Widgets.getBackButtonHtml(function(html) {
document.getElementById('backBtn').innerHTML = html;
While publishing a post, I get an error:
{error_code: 10, error_msg: " PERMISSION_DENIED : User must grant an access to permission 'PHOTO_CONTENT'", error_data: "photo_content"}
Moreover, if you publish from the application owner, then there is no such error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question