search for: authorize_from_request

Displaying 1 result from an estimated 1 matches for "authorize_from_request".

2010 Jul 01
6
Close Modalpopup with RJS
...create oauth.set_callback_url(finalize_session_url) session[''rtoken''] = oauth.request_token.token session[''rsecret''] = oauth.request_token.secret redirect_to oauth.request_token.authorize_url end sessions/finalize def finalize oauth.authorize_from_request(session[''rtoken''], session[''rsecret''], params[:oauth_verifier]) session[''rtoken''] = nil session[''rsecret''] = nil profile = Twitter::Base.new(oauth).verify_credentials user = User.find_or_create_by_screen_n...