To be a bit more precise:
Asking people for their social media accounts is not new, it's a part of the visa application process since Trump's first term.
What's new is that now on top of that, they're asking people for those social media accounts to be public.