Answer the question
In order to leave comments, you need to log in
VK API: how to display all posts using the wall.get method?
Welcome all. I decided to deal with the VK API.
I want to display all the posts from the group walls, but only 5-6 posts are displayed, although much more should be displayed.
$wall = file_get_contents("http://api.vk.com/method/wall.get?owner_id=-95098766&v=5.52");
$wall1 = json_decode($wall,null,512);
$stop=$wall1->response->count;
for ($i=0;$i<$stop;$i++)
{
$way=$wall1->response->items[$i]->copy_history[0]->text.'</br>';
print_r($way);
}
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