The Director of Public Prosecutions (DPP) Keir Starmer has said "the time has come for an informed debate about the boundaries of free speech in an age of social media".
Starmer said that new guidelines were needed because this was just one of a growing number of such cases and there were likely to be many more.
He added: "Social media is a new and emerging phenomenon raising difficult issues of principle, which have to be confronted not only by prosecutors but also by others including the police, the courts and service providers."
Mr Starmer will hold a series of round-table meetings with campaigners, media lawyers, academics, social media experts and law enforcement bodies next month before the interim guidelines are published.
More top news
The chief executive of one of the 'big six' energy companies tells ITV News a report customers are paying too much is a concern.
10 years on, George Psaradakis has given his first interview, recalling the events of July 7 2005.
A spat between the supporters of Yvette Cooper and Liz has seen a debate rage over whether a woman needs to be a mother to be a good leader.