Islam teaches both men and women to be modest. What modesty means is interpreted variously by various cultures. Islam also teaches men and women to be at home in the world. As social media is part of the world, it is not against the use of social media. It is what one actually writes or does that matters.