I
I
Ingvar Von Bjork2019-09-19 12:14:02
In contact with
Ingvar Von Bjork, 2019-09-19 12:14:02

How do I get posts from the community wall?

The VK API has a wall.get method that returns posts from the wall. This method has a limit of 100 entries. Is there a way to bypass this limitation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artyom Nikiforov, 2019-09-19
@DeboshiR

This method has an “offset” parameter, you can run the for loop with this method, for example, from 0 to 100, and so that the program understands when to stop, as an option, you can parse the answer after each execution of the loop if the number of records in it is equal to zero, then exit the loop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question