AndrewShmig / Vkontakte-iOS-SDK-LV

[iOS] Powerful & flexible Vkontakte iOS SDK Latest Version
79 stars 23 forks source link

audioGetByID не работает #112

Open vasilii91 opened 9 years ago

vasilii91 commented 9 years ago

Запрос:

let request: VKRequest = self.requestManager!.audioGetByID(["owner_id" : "19168988", "count" : "3"])
        request.cacheLiveTime = VKCacheLiveTimeOneDay
        request.start()

Ответ приходит здесь:

func request(request: VKRequest!, responseError error: NSError!) {

}
{
    "error_code" = 5;
    "error_msg" = "User authorization failed: no access_token passed.";
    "request_params" =     (
                {
            key = oauth;
            value = 1;
        },
                {
            key = method;
            value = "audio.getById";
        },
                {
            key = count;
            value = 3;
        },
                {
            key = "owner_id";
            value = 19168988;
        }
    );
}