{"action":"created","issue":{"url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/304","labels_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/304/comments","events_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/304/events","html_url":"https://github.com/VKCOM/vk-ios-sdk/issues/304","id":115116027,"number":304,"title":"[VKApi wall] post завершается с ошибкой Access denied: no access to call this method","user":{"login":"tropindv","id":15656872,"avatar_url":"https://avatars.githubusercontent.com/u/15656872?v=3","gravatar_id":"","url":"https://api.github.com/users/tropindv","html_url":"https://github.com/tropindv","followers_url":"https://api.github.com/users/tropindv/followers","following_url":"https://api.github.com/users/tropindv/following{/other_user}","gists_url":"https://api.github.com/users/tropindv/gists{/gist_id}","starred_url":"https://api.github.com/users/tropindv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tropindv/subscriptions","organizations_url":"https://api.github.com/users/tropindv/orgs","repos_url":"https://api.github.com/users/tropindv/repos","events_url":"https://api.github.com/users/tropindv/events{/privacy}","received_events_url":"https://api.github.com/users/tropindv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-04T18:21:31Z","updated_at":"2015-11-05T11:05:02Z","closed_at":null,"body":"Добрый день.\r\n\r\nЗапрос [[VKApi wall] post: queryParam ] завершается ошибкой Access denied: no access to call this method.\r\n\r\nРеализация такая:\r\n```\r\n    NSString* ownerId = [VKSdk accessToken].userId;\r\n    NSDictionary* queryParam = [NSDictionary dictionaryWithObjectsAndKeys:\r\n                                ownerId, @\"owner_id\",\r\n                                @\"123\", @\"message\",\r\n                                //attachment, @\"attachments\",\r\n                                nil];\r\n\r\n    VKRequest* request = [[VKApi wall] post: queryParam ];\r\n    \r\n\r\n    [request executeWithResultBlock:^(VKResponse* response)\r\n    {\r\n        int d = 0;\r\n        d++;\r\n    }\r\n    errorBlock:^(NSError* error)\r\n    {\r\n        int d = 0;\r\n        d++;\r\n    }];\r\n```\r\nДо вызова этот метода авторизация проходит успешно, accessToken возвращается, userId не пустой.\r\nПри авторизации запрашиваются разрешения: @\"friends\", @\"photos\", @\"wall\", @\"groups\". \r\nиспользуется vk ios sdk 1.3.4\r\nсреда разработки xCode 7.0\r\nаппарат iPhone 6 plus\r\nверсия iOS 8.1.3 \r\n\r\nДругой запрос, например VKRequest * request = [[VKApi friends] get: queryParam ], выполняется без ошибок."},"comment":{"url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/comments/154031379","html_url":"https://github.com/VKCOM/vk-ios-sdk/issues/304#issuecomment-154031379","issue_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/304","id":154031379,"user":{"login":"tropindv","id":15656872,"avatar_url":"https://avatars.githubusercontent.com/u/15656872?v=3","gravatar_id":"","url":"https://api.github.com/users/tropindv","html_url":"https://github.com/tropindv","followers_url":"https://api.github.com/users/tropindv/followers","following_url":"https://api.github.com/users/tropindv/following{/other_user}","gists_url":"https://api.github.com/users/tropindv/gists{/gist_id}","starred_url":"https://api.github.com/users/tropindv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tropindv/subscriptions","organizations_url":"https://api.github.com/users/tropindv/orgs","repos_url":"https://api.github.com/users/tropindv/repos","events_url":"https://api.github.com/users/tropindv/events{/privacy}","received_events_url":"https://api.github.com/users/tropindv/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T11:05:02Z","updated_at":"2015-11-05T11:05:02Z","body":"отправил."}}