S
S
shnicel2015-12-10 17:50:51
JavaScript
shnicel, 2015-12-10 17:50:51

Why is the response error from vk api?

trying to make a request

var req="//api.vk.com/method/video.get?owner_id=-109098029&album_id=1&extended=1&access_token=&v=5.40"
    $.ajax({
      url : req,
      type : "GET",
      dataType : "jsonp",
      success : function(data){
          console.log(data.response[1]);
      }
    });

I get an error, as I understand it, there is not enough token, tell me what's wrong

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2015-12-10
@healqq

&access_token= %ваш токен%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question