Last active
December 24, 2015 10:09
-
-
Save michaelherold/6781697 to your computer and use it in GitHub Desktop.
Bug report for issue on sferik/twitter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-2.0.0 (main)> client = Twitter::REST::Client.new do |config| | |
config.consumer_key = <snip>, | |
config.consumer_secret = <snip> | |
end | |
=> #<Twitter::REST::Client:0x0000000749a370> | |
ruby-2.0.0 (main)> tweet = client.status(381940500032258049) | |
=> #<Twitter::Tweet:0x00000007752770> | |
ruby-2.0.0 (main)> uri = Twitter::Entity::URI.new(tweet.attrs[:entities][:urls][0]) | |
=> #<Twitter::Entity::URI:0x00000007061808> | |
ruby-2.0.0 (main)> uri.display_url | |
URI::InvalidURIError: bad URI(is not URI?): gawker.com/louis-c-k-s-ex… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment