Assent v0.1.2 Assent.Strategy.Facebook View Source

Facebook OAuth 2.0 strategy.

Configuration

  • :user_url_request_fields - The fields for the resource, defaults to email,name,first_name,last_name,middle_name,link

See Assent.Strategy.OAuth2 for more.

Usage

config = [
  client_id: "REPLACE_WITH_CLIENT_ID",
  client_secret: "REPLACE_WITH_CLIENT_SECRET"
]