Snapchat, TikTok, YouTube, Instagram, Facebook and X will be among the platforms banned by spring 2027, the government says.