Lawyers told: don’t be put off social media by barrister fined over tweets