url_expander icon indicating copy to clipboard operation
url_expander copied to clipboard

Ruby Library to Expand short urls

Results 9 url_expander issues
Sort by recently updated
recently updated
newest added

If response status != 200 (e.g. 403 when rate limit exceeded) then in the response body ```data['data']``` is an array, and trying to access ```data['data']['expand'].first``` results in an error.

I am getting this error: UrlExpander::Error: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup. - '403'

A method should not change its parameters; this is generally seen as bad style. It produced weird behavior for me because I was using a constant as the options: ```...

Thought I was clever enough to fork this and figure it out, but I've still got too much n00b in me. Any idea what's happening here? ``` ruby ruby-1.9.2-p180 :015...

UrlExpander::Client.expand("https://t.co/J6JNYgLs") ArgumentError: Unknow url from /Users/tomo/.rvm/gems/ruby-1.9.3-p125/gems/url_expander-0.1.5/lib/url_expander.rb:42:in `expand' from (irb):4 from /Users/tomo/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in`'

installation hangs with this output: Installing ri documentation for url_expander-0.1.5... ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0] gem -v 1.8.24