Parents could unwittingly give away more information than they think when they post online, police are warning.