Kanca is an application to analyze Facebook Group
activity. Its key features are:
- Open sourced, as you can see here.
- Fully client side, hosted on GitHub pages (zero cost, no data persisted on server).
- Analyze user FB group feed behavior like most active users, most liked posts, etc.
- Analyze FB group user engagement like new users, user retention, etc.
- Node.js 6+
- Facebook Developer's Application, create it at https://developers.facebook.com for free
- Make sure you enabled Facebook Login feature and put
https://localhost:3000
exist in yourValid OAuth redirect URIs
(Facebook Login -> Settings)
- Go to project root directory, copy
.env.template
to.env
(edit it as you need, look at description below) - Install its dependencies
$ npm install
or$ yarn install
Since this project uses Flow, and some environment specific configuration, some IDE or Text Editors needs additional configuration.
Please use Bash on Ubuntu on Windows
or Windows Subsystem Linux
for local development.
Add "javascript.validate.enable": false
on your VSCode config (.vscode/settings.json
).
It would be better if you install this Flow plugin as well.
- Run
$ npm start
or$ yarn start
- Open browser at
https://localhost:3000
REACT_APP_FB_APP_ID
it's Facebook Developer's Application ID, look at your application dashboard on https://developers.facebook.com.REACT_APP_URL_PREFIX
default is/kanca
, it's used as aurl prefix
, mostly used if we published as project page at GitHub p