kanca
kanca copied to clipboard
Facebook Group Analytics

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.
Local Development
Requirements
- 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
http://localhost:3000exist in yourValid OAuth redirect URIs(Facebook Login -> Settings)
Installation
- Go to project root directory, copy
.env.templateto.env(edit it as you need, look at description below) - Install its dependencies
$ npm installor$ yarn install
IDE/ Text Editor/ OS Configuration
Since this project uses Flow, and some environment specific configuration, some IDE or Text Editors needs additional configuration.
Windows
Please use Bash on Ubuntu on Windows or Windows Subsystem Linux for local development.
VSCode
Add "javascript.validate.enable": false on your VSCode config (.vscode/settings.json).
It would be better if you install this Flow plugin as well.
Development
- Run
$ npm startor$ yarn start - Open browser at
http://localhost:3000
Environment Variable Explanation
REACT_APP_FB_APP_IDit's Facebook Developer's Application ID, look at your application dashboard on https://developers.facebook.com.REACT_APP_URL_PREFIXdefault is/kanca, it's used as aurl prefix, mostly used if we published as project page at GitHub pages.REACT_APP_FEED_PAGESdefault is10, it's used to set how many pages of group feed do we want to fetch by default.REACT_APP_GROUP_IDSFacebook Group IDs to be shown atfeatured groupson group selection, eg.1920036621597031forFacebook Developer Circle: Malanggroup. Separated by commas,.
Roadmap
To track development progress and roadmap, follow this GitHub Project.