Functional FacebookOffline code