Код: Выделить всё
<?$respfriends = $VK->api('friends.get', array('timestamp'=>time(), 'random'=>rand(), 'uids'=>$viewer_id, 'fields'=>'photo_100'));?><? echo $respfriends['response'][0]['first_name']; ?>
друзья подключены
Код: Выделить всё
<?$respfriends = $VK->api('friends.get', array('timestamp'=>time(), 'random'=>rand(), 'uids'=>$viewer_id, 'fields'=>'photo_100'));?><? echo $respfriends['response'][0]['first_name']; ?>