conditional in facebook helper