Can i use this link??
http://functino.com/2010/02/twitter-api-with-rails/
but, when i give th*is Twitter.post(:update, :status => "Via ROR")*, got the
error
ActiveResource::UnauthorizedAccess: Failed. Response code = 401. Response
message = Unauthorized.
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/connection.rb:132:in
`handle_response'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/connection.rb:115:in
`request'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/connection.rb:98:in
`block in post'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/connection.rb:218:in
`with_auth'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/connection.rb:98:in
`post'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1/lib/active_resource/custom_methods.rb:63:in
`post'
from (irb):2
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands/console.rb:45:in
`start'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands/console.rb:8:in
`start'
from
/home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands.rb:40:in
`<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/nl0cFNKhuOMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.