To use messages.getLongPollHistory?

How often can/must refer to messages.getLongPollHistory and why do we need it if you can poll the server received getLongPollServer. And how often can I access the server received getLongPollServer? Do not wait for me trouble if I were to poll the server twice a second?

As generally accepted among normal people? Once in 1-5 minutes to ask about events or times per second also the norm?
June 10th 19 at 14:54
1 answer
June 10th 19 at 14:56
Solution
messages.getLongPollHistory - not more than 3 times per second.
The Long Poll server - as much as you want (read: at least 100 times per second).
And do not tell, is there a daily limit on messages.getLongPollHistory and whether to expect a captcha? TP VC something the second day ignore. - malvina_Cron commented on June 10th 19 at 14:59
for API method messages.getLongPollHistory are exactly the same restrictions as all other API methods.

Frequency limits
Methods Vkontakte API (with the exception of methods sections and ads secure) with key user access, you can apply no more than 3 times per second. Access key community, the limit is 20 queries per second. If Your application logic involves the invocation of several methods in a row, it makes sense to pay attention to the execute method. It allows you to make up to 25 calls to different methods in the same query.

The maximum number of calls to the methods section secure depends on the number of users who installed the app. If the app is installed less than 10,000 people, you can make 5 requests per second up to 100 000 — 8 requests, to 1 000 000 — 20 requests more than 1 million is 35 requests per second.

If You exceed the frequency limit, the server will return error code 6: "Too many requests per second.".

Quantitative restrictions
In addition to the restrictions on the frequency of application, there are quantitative restrictions on a call similar methods. For obvious reasons, we do not provide information on the exact limits.

After exceeding the quantitative limit access to specific methods may be required to enter a captcha (see captcha_error), and can also be temporarily restricted (in this case, the server returns a response to a particular method call, but handles any other requests).
- gunnar.Barrows commented on June 10th 19 at 15:02

Find more questions by tags Long pollingVKontakte