Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

twitter4r 0.7.0 issue with oauth 0.4.7

22 views
Skip to first unread message

krzysztof cierpisz

unread,
Nov 16, 2012, 5:15:10 AM11/16/12
to twitter4r-users
I am getting:

/home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/oauth/
helper.rb:37:in `<=>': undefined method `<=>' for :status:Symbol
(NoMethodError)
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/helper.rb:37:in `sort'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/helper.rb:37:in `normalize'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/consumer.rb:359:in `create_http_request'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/consumer.rb:187:in `create_signed_request'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/consumer.rb:159:in `request'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/tokens/consumer_token.rb:25:in `request'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/tokens/access_token.rb:12:in `request'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/oauth-0.4.7/lib/
oauth/tokens/access_token.rb:47:in `post'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/twitter4r-0.7.0/lib/
twitter/client/base.rb:21:in `send'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/twitter4r-0.7.0/lib/
twitter/client/base.rb:21:in `rest_oauth_connect'
from /home/chris/.rvm/gems/ree-1.8.7-2012.02/gems/twitter4r-0.7.0/lib/
twitter/client/status.rb:57:in `status'
from test_twit.rb:73

while executing:
twitter.status(:post, "aaa")

it seems Symbol is not expected by oauth, but do not know how to
correct that,
any tips?

thanks,
Chris
Reply all
Reply to author
Forward
0 new messages