0

I updated my Twitter gem today and the Twitter.user_timeline("some_user") no longer works.

I get:

URI::InvalidURIError: bad URI(is not URI?): https://api.twitter.com/1/statuses/user_timeline.json?screen_name=dalailama

But when I plug that into my browser, it works fine.

Any ideas why this is? It does this in both production and development.

Solved

Looks like they just pushed a new release. Updated my gemfile again and it works.

bevanb
  • 8,201
  • 10
  • 53
  • 90

1 Answers1

0

Looks like they just pushed a new release. Updated my gemfile again and it works.

Edit

Apparently is was caused by this bug: https://github.com/sferik/twitter/issues/253

bevanb
  • 8,201
  • 10
  • 53
  • 90
  • Excuse me, which version gave you this mistake? And to what version did you update? – e3matheus Oct 01 '12 at 04:35
  • I think this was the problem https://github.com/sferik/twitter/issues/253. "This was actually caused by an incompatibility between the latest version of faraday (0.8) and simple_oauth. I've pushed a fix to simple_oauth in version 0.1.6 and require that version in twitter 2.2.3.". Can you please update your answer? – e3matheus Oct 01 '12 at 17:12