Skip to content
Facebook Account Kit using Golang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
images
templates
.drone.yml
.env.example
.gitignore
.revive.toml
Dockerfile
LICENSE
Makefile
README.md
app.json
go.mod
go.sum
heroku.yml
main.go

README.md

facebook-account-kit

Build Status

Account Kit for Web (Golang), see the demo site.

Setup facebook account kit information

copy the .env.example to .env

TEST_FACEBOOK_APP_ID=xxxxxxxxx
TEST_FACEBOOK_SECRET=xxxxxxxxx
TEST_FACEBOOK_VERSION=v1.1

change the app_id and secret value.

Run the app in go v1.11 version

Please make sure the go version in v1.11 using go module.

$ go run main.go

Heroku

Click on the Heroku button to easily deploy your app:

Heroku

Or alternatively you can follow the manual steps:

Clone this repository:

$ git clone https://github.com/go-training/facebook-account-kit.git

Set the buildpack for your application

$ heroku config:add BUILDPACK_URL=https://github.com/go-training/facebook-account-kit.git

Add Heroku git remote:

$ heroku git:remote -a your-application

Deploy it!

$ git push heroku master

View the logs. For more information, see View logs.

$ heroku logs --app {Heroku app name} --tail

Add Config Vars in dashboard.

You can refer the facebook developer dashboard.

You can’t perform that action at this time.