The warning comes after a teenage boy was slashed in the face days after posting a video of himself wielding a kitchen knife online.