From e51a9b22e070b48ac93da9ee0cc01c24547e1540 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Mon, 7 Jan 2019 22:52:13 +0100 Subject: [PATCH] Document FB import command --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c2b193..e9317b2 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,18 @@ Once you've submitted a PR, it will automatically be deployed to (PR#).pr.zeus.g Analytics are powered by [Fathom](https://usefathom.com) and are available on . These are only available to administrators with proper rights. These analytics are self hosted and provide only simple statistics for our information, without breaching your privacy. -## Built With +## Import event from Facebook +You can import events from Facebook with `bundle exec nanoc fetch #{event_id}`. +You will need to create a `.fb_token` file and request an API token to put in there, see [FB graph API](https://developers.facebook.com/tools/explorer/). + +You will probably need to make a new app (see navbar, it's quite trivial), unless you already have a Zeus site app. + +You need to create a User Token with `user_events` permission. + +We currently request from v2.10, details about the code can be found in [./commands/fetch]. + +## Built With * [nanoc](https://github.com/nanoc/nanoc), static site generator * [Bulma](https://bulma.io/), CSS framework