Anyone know what the correct syntax to get an auth_token from Vimeo using the recently updated vimeo gem (http://github.com/matthooks/vimeo) using oAuth?
I'm trying this:
def authorize
base = Vimeo::Advanced::Base.new(VIMEO_API_KEY, VIMEO_SECRET)
redirect_to base.web_login_link("delete")
end #end method
--- get redirected to vimeo, allow access, then get redirected to app with frob variable ---
def callback
vimeo = Vimeo::Advanced::Auth.new(VIMEO_API_KEY, VIMEO_SECRET)
auth_token = vimeo.get_token(params[:frob])
end
-- now I get the following error:
{"err"=>{"msg"=>"Missing required parameter", "code"=>"307", "expl"=>"A required parameter was missing: oauth_consumer_key"}, "stat"=>"fail", "generated_in"=>"0.0054"}
Anyone familiar with this gem or the correct syntax to get the auth_token for making authenticated calls in the future