The U.S. government said Wednesday it will begin scrutinizing the social media profiles of immigrants and visa applicants for what it called anti-Semitic activity, prompting swift condemnations from rights advocates, some of them Jewish, who raised concerns about free speech and surveillance.