Z
Z
zxcursed2021-05-28 10:14:15
PHP
zxcursed, 2021-05-28 10:14:15

Why 2 requests to the VK API are not executed?

I make 2 requests to vk api, one for deletion, the second for blocking, but only the first one is executed, because of what?
There is no error in requests, if you swap them, then only the one that comes first, in the log of failed requests, etc., will be executed. nothing
First case:

if (условие) {
$vk->API(method1, array); - выполнится
$vk->API(method2, array); - не выполнится
}


Second case:

if (условие) {
$vk->API(method2, array); - выполнится
$vk->API(method1, array); - не выполнится
}

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