# Überauth Facebook

> Facebook OAuth2 strategy for Überauth.

### Setup

Include the provider in your configuration for Überauth:

config :ueberauth, Ueberauth,
  providers: [
    facebook: [ { Ueberauth.Strategy.Facebook, [] } ]

Then configure your provider:

config :ueberauth, Ueberauth.Strategy.Facebook.OAuth,
  client_id: System.get_env("FACEBOOK_APP_ID"),
  client_secret: System.get_env("FACEBOOK_APP_SECRET")

For an example implementation see the [Überauth Example]( application.

## Installation

If [available in Hex](, the package can be installed as:

1. Add `:ueberauth_facebook` to your list of dependencies in `mix.exs`:

    def deps do
      [{:ueberauth_facebook, "~> 0.1"}]