# File lib/twitter/client/friends_and_followers.rb, line 30 def friend_ids(*args) options = {:cursor => -1} options.merge!(args.last.is_a?(Hash) ? args.pop : {}) user = args.first merge_user_into_options!(user, options) response = get('1/friends/ids', options) format.to_s.downcase == 'xml' ? Hashie::Mash.new(:ids => response['id_list']['ids']['id'].map{|id| id.to_i}) : response end