class Socialinvestigator::Client::Twitter

Public Instance Methods

lookup_url( url ) click to toggle source
# File lib/socialinvestigator/client/twitter.rb, line 21
def lookup_url( url )
  return nil if url.nil? || url == ""
  r = HTTParty.head url, { follow_redirects: false }
  r['location'] || url
end
print_user_info( u ) click to toggle source