facebook messaging type database