Jeff Bercovici, a staff writer for Forbes covering media and technology, wrote in a blog post that he knew Ms. Sacco and considered her a friend. Over drinks a few weeks ago, he wrote, Ms. Sacco explained that she had recently noticed that “people seemed to like the tweets that were just a little bit risqué or outrageous.”

Maybe that need to impress, to find validation through the people that follow us online, was what led to Ms. Sacco’s inappropriate tweet, and also gave the people who attacked her the justification for their own vitriolic behavior.