I
I
Ivan Mikhailov2015-01-26 15:24:59
Python
Ivan Mikhailov, 2015-01-26 15:24:59

vk api. Why do the responses to the url from the browser and through the urllib2 library not match?

Please tell me why the result is different. In the browser I run
https_//api.vk.com/method/wall.get?uid=OUR_ID&owner_id=-947906&v=5.27& count=3 &access_token=<OUR_TOKEN>
and I get a normal result with three positions.
And if so:
import urllib2
urllib2.urlopen("https_//api.vk.com/method/wall.get?uid=<OUR_ID>&owner_id=-947906&v=5.27& count=3 &access_token=<OUR_TOKEN>").read (),
then only the last post

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question