S
S
sizzeR2018-11-09 11:39:14
API
sizzeR, 2018-11-09 11:39:14

Is it possible to get a completely random poll on VKontakte?

I want to get an absolutely random poll, but so that it is searched throughout VKontakte, and not just from any group.
How can this thing be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-11-09
@0id202

To receive a survey, you need to know its owner.
The polls.getById() method wants two parameters: poll_id- the id of the poll (there is a continuous numbering, you can think of anything), and owner_id- the id of the owner who created the poll.
Those. in order to “guess” the owner of a random survey, you will have to stupidly sort through all the id of VK accounts + id of all VK communities. Theoretically, you can. But very long.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question