Answer the question
In order to leave comments, you need to log in
I have a small problem and I need help. php?
I have a small problem and I need help.
After executing these lines:
$friends_array = Okru::makeRequest('friends.get');
$friends_results = Okru::makeRequest('users.getInfo', array('format' => 'json', 'uids' => implode(',', $friends_array), 'fields' => 'name'));
$friends_array = Okru::makeRequest('friends.get');
for($i=0; $i<count($friends_array); $i++ ){
$friends_results[$i] = Okru::makeRequest('users.getInfo', array('format' => 'json', 'uids' => $friends_array[$i], 'fields' => 'name'));
}
Answer the question
In order to leave comments, you need to log in
We read the docks: https://apiok.ru/dev/methods/rest/users/users.getInfo
Max. the number of identifiers is 100.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question