remove dependency on facebook library