Ivory Coast had long been a haven for L.G.B.T.Q. people, even as they faced discrimination or persecution elsewhere in West Africa. But over the past two months, dozens of assaults, beatings and intimidation online and in the streets have shaken that sense of safety. Dozens of gay men and transgender people said in interviews and testimonies collected by rights groups that they had been attacked and beaten in Ivory Coast’s largest city, Abidjan, after several social media influencers exhorted their followers to “hunt woubis,” a term referring to effeminate gay men in the country that has become a catchphrase to designate a stigmatized community.