Account Kit

Hex pmBuild StatusLicense

An api client for Facebook Account Kit

Installation

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

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

    def deps do

     [{:account_kit, "~> 0.1.0"}]

    end

  2. Ensure account_kit is started before your application:

    def application do

     [applications: [:account_kit]]

    end

Required Configuration

You must supply the below credentials. You will receive a reminder error if they are missing.

You should add the below snippet to config/config.exs or an environment specific config file if you are using multiple facebook developer accounts for environments.

  config :account_kit,
    api_version: "v1.0",
    app_id: "valid_app_id",
    app_secret: "valid_app_secret",
    require_appsecret: true

Recommended Testing Setup

First setup acccount kit in your facebook developer account.

Next install a web client to test with:

Example API

Coming Soon

Contributing

Before submitting your pull request, please run:

Please squash your pull request's commits into a single commit with a message and detailed description explaining the commit.