We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Use with omniauth-facebook gem: https://github.com/simi/omniauth-facebook
omniauth-facebook
Use with v2+ of this gem.
OAuth2::Response.register_parser(:facebook, []) do |body, response| if response.headers["content-type"].to_s.include?("application/json") OAuth2::Response::PARSERS[:json].call(body) else OAuth2::Response::PARSERS[:query].call(body) end end OmniAuth::Strategies::Facebook.configure do |config| config.token_params.merge!({ parse: :facebook }) end