N
N
Nikolai Roller2014-05-12 07:37:59
API
Nikolai Roller, 2014-05-12 07:37:59

VK API - Multiple tokens in execute method

As you may know, there is a wonderful method in VK API called execute .
This method accepts algorithms in the VKScript format , for which, unfortunately, I have not found documentation. A partial solution to various nuances can be found - here .
Task: Execute several nested requests on the server side with one request in order to reduce the time and the total number of requests transmitted to VKontakte servers .
Question: How to make several calls to any method using several different individual access_token . The point is that if you pass this access_token toGET parameters along with the code value (our passed algorithm), then all requests to methods, inside our algorithm, will come from this access_token'a .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WTFRU7, 2014-05-16
@WTFRU7

Try to use stored procedures for VK - pass tokens as parameters, and in the script itself insert to methods. Or stupidly substitute the corresponding tokens into the code parameter, while executing the request itself from a specific token

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question