Ecclesiastes 5:2 says,
Never be rash with your mouth, nor let your heart be quick to utter a word before God, for God is in heaven, and you upon earth; therefore let your words be few.
Be quick to listen, slow to speak, slow to become angry.
And watch what you tweet.*
* Also applicable to other types of social media.