Can social media be used against me in the courtroom?

Absolutely, social media will can and will be used against you in a courtroom, if you make any statement that is detrimental to your goals or counter contra to what you want to achieve. It is considered to be a statement against interest and would be admissible against you.