-
-
Save bogutski/47640c1ad0546d7e89a0b0b47c2815f8 to your computer and use it in GitHub Desktop.
Фоточки человеков из https://vk.com/phalconphp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="text-align: center"> | |
<?php | |
// 45934290 - ID группы | |
$d = file_get_contents("https://api.vk.com/method/groups.getMembers?group_id=45934290&v=5.16&offset=0&count=1000&fields=photo_50"); | |
$us= json_decode($d,true); | |
foreach($us['response']['items'] as $u){ | |
echo sprintf('<img src="%s"/>',$u['photo_50']); | |
} | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment