friends.getAppUsers на php
Добавлено: 20 окт 2012, 16:00
Код: Выделить всё
<script>VK.init(function() {VK.api("friends.getAppUsers", {}, function(data) {var app = data.response.length;alert(app);});});</script>
Код: Выделить всё
<?php require 'vkapi.class.php'; $api_id = ********; $secret_key = '*********************'; $VK = new vkapi($api_id, $secret_key); $step2 = $VK->api('friends.getAppUsers');$step3 = $step2['response'][0];?>