# File lib/twitter/rest/favorites.rb, line 68 def favorite(*args) arguments = Twitter::Arguments.new(args) pmap(arguments) do |tweet| begin perform_post_with_object('/1.1/favorites/create.json', arguments.options.merge(:id => extract_id(tweet)), Twitter::Tweet) rescue Twitter::Error::AlreadyFavorited, Twitter::Error::NotFound next end end.compact end