How do I take this URL http://t.co/yjgxz5Y and get the destination URL which is http://nickstraffictricks.com/4856_how-to-rank-1-in-google/
require 'net/http' require 'uri' Net::HTTP.get_response(URI.parse('http://t.co/yjgxz5Y'))['location'] # => "http://nickstraffictricks.com/4856_how-to-rank-1-in-google/"