403 Error when Authenticating using tumblr gem for rails application

Posted by Matenia Rossides on Stack Overflow See other posts from Stack Overflow or by Matenia Rossides
Published on 2010-04-11T13:52:33Z Indexed on 2010/05/21 4:50 UTC
Read the original article Hit count: 303

I have a ruby-on-rails application that wishes to utilise the tumblr gem for adding posts when an action is taken (eg: creating a blog post)

I currently have the tumblr gem installed and can manage to fetch my posts using

@tumblruser = Tumblr::User.new('myemail','mypassword')

However when i go to add a post where it asks me to pass the user information like so (according to the API for the gem)

post = Tumblr::Post.create(@tumblruser, :type => 'video', :embed => @post.video_html, :title => @post.title, :caption => @post.content)

it just does not want to authenticate and returns a 403 error

anyone had any experience with this?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about tumblr