The TikTok prankster has been sentenced to 18 weeks’ detention in a young offender institution.