[WIP] Integrate facebook flow

TODO
- [ ] Fixes E2E test with `doc/`
- [ ] Add build npm scripts
- [ ] Update test case