The move follows growing concern about the effect of social media on children’s mental health. France’s public health authority said last year that platforms such as TikTok, Snapchat and Instagram can be harmful to adolescents, particularly girls, although it noted that social media is not the sole cause of declining mental health among young people.