When a gang member was released from jail soon after his arrest for selling methamphetamine, friends and associates assumed he had cut a deal with authorities and become a police informant. They sent a warning on Twitter that went like this: We have a snitch in our midst. Law enforcement officials say gangs are making greater use of Twitter and Facebook, where they sometimes post information that helps agents identify gang associates and learn more about their organizations. And gang members sometimes turn the tables, asking contacts across their extended networks for help identifying undercover police officers. Gang use of...