Advertisement
KiberInfinity

Friends with VkOpt

Sep 12th, 2012
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dApi.call('execute',{code:'return API.users.get({uids:API.friends.getAppUsers()});'},function(r){
  2.    var users=r.response;
  3.    var s='';
  4.    for (var i=0; i<users.length; i++){
  5.       s+='<a href="/id'+users[i].uid+'">'+users[i].first_name+' '+users[i].last_name+'</a><br>'
  6.    }
  7.    vkAlertBox('Friends with VkOpt',s);
  8. })
Advertisement
RAW Paste Data Copied
Advertisement