{"id":21564631,"url":"https://github.com/bleacherreport/account_kit","last_synced_at":"2025-04-10T13:07:18.882Z","repository":{"id":57478724,"uuid":"61321526","full_name":"bleacherreport/account_kit","owner":"bleacherreport","description":"API Client for Facebook's Account Kit","archived":false,"fork":false,"pushed_at":"2018-10-15T18:12:10.000Z","size":22,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-04-25T02:25:55.356Z","etag":null,"topics":["account-kit","elixir","facebook"],"latest_commit_sha":null,"homepage":"https://www.accountkit.com/","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bleacherreport.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-16T19:51:20.000Z","updated_at":"2023-09-05T13:08:56.000Z","dependencies_parsed_at":"2022-08-30T09:52:17.819Z","dependency_job_id":null,"html_url":"https://github.com/bleacherreport/account_kit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleacherreport%2Faccount_kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleacherreport%2Faccount_kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleacherreport%2Faccount_kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleacherreport%2Faccount_kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bleacherreport","download_url":"https://codeload.github.com/bleacherreport/account_kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248224043,"owners_count":21068071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["account-kit","elixir","facebook"],"created_at":"2024-11-24T10:16:37.367Z","updated_at":"2025-04-10T13:07:18.863Z","avatar_url":"https://github.com/bleacherreport.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Account Kit\n[![Hex pm](http://img.shields.io/hexpm/v/account_kit.svg?style=flat)](https://hex.pm/packages/account_kit)\n[![Build Status](https://travis-ci.org/bleacherreport/account_kit.svg?branch=master)](https://travis-ci.org/bleacherreport/account_kit)\n[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://github.com/bleacherreport/plug_logger_json/blob/master/LICENSE)\n\n\nAn api client for Facebook Account Kit\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed as:\n\n  1. Add account_kit to your list of dependencies in `mix.exs`:\n\n        def deps do\n          [{:account_kit, \"~\u003e 0.1.0\"}]\n        end\n\n  2. Ensure account_kit is started before your application:\n\n        def application do\n          [applications: [:account_kit]]\n        end\n\n## Required Configuration\nYou must supply the below credentials. You will receive a reminder error if they are missing.\n\nYou should add the below snippet to config/config.exs or an environment specific config file\nif you are using multiple facebook developer accounts for environments.\n\n      config :account_kit,\n        api_version: \"v1.0\",\n        app_id: \"valid_app_id\",\n        app_secret: \"valid_app_secret\",\n        require_appsecret: true\n\n\n## Recommended Testing Setup\nFirst setup acccount kit in your facebook developer account.\n\nNext install a web client to test with:\n* `git clone https://github.com/santiblanko/Account-kit-sample-for-web`\n* `cd Account-kit-sample-for-web`\n* Modify the JS login callback to log the auth code to console instead of into an html element (I get an error if an HTML element is used).\n* `python -m SimpleHTTPServer 9000`\n* Have chrome console open and preserving logs\n* Fill out the email or phone form to test either flow.\n* Check the chrome console for the auth code\n* You can then use the auth code with the api calls available in this client\n\n## Example API\nComing Soon\n\n\n## Contributing\nBefore submitting your pull request, please run:\n  * `mix credo --strict`\n  * `mix coveralls`\n  * `mix dialyzer`\n\nPlease squash your pull request's commits into a single commit with a message and\ndetailed description explaining the commit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleacherreport%2Faccount_kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbleacherreport%2Faccount_kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleacherreport%2Faccount_kit/lists"}