Answer the question
In order to leave comments, you need to log in
How to use the execute method for friends.get Vkontakte Api?
I use the following php code to get the id of friends:
$resp = file_get_contents('https://api.vkontakte.ru/method/friends.get?user_id='.$_GET["userid"].'');
$data = json_decode($resp, true);
$myfriends = implode(",", $data[response]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question