Method: Social::Network::Graph::Vk::User#get_friends
- Defined in:
- lib/social/network/graph/vk/user.rb
#get_friends(uid) {|result| ... } ⇒ Object Also known as: get_friends_uids
21 22 23 24 25 26 27 28 29 |
# File 'lib/social/network/graph/vk/user.rb', line 21 def get_friends(uid) throw 'Not give uid for friends request' unless uid params = { "method" => 'friends.get', :uid => uid, "fields" => FIELDS} result = send(:process_secure, params) return result unless block_given? yield(result) if block_given? end |