However, the prank – reminiscent of the capers of Bart and Homer in The Simpsons – raises questions over the vigilance of producers in vetting content used from the social networking site during live shows.

It comes as radio stations were issued a stern warning from the broadcasting watchdog over offensive language.

Ofcom reprimanded broadcasters following a series of slip ups involving offensive language in songs. The action was designed to protect children from songs that refer to drugs and sex.

One station was criticised for playing the Fatboy Slim song Star 69, which contained 41 instances of the phrase "what the ----", at around 7.30am.

Another played Tinie Tempah's Pass Out in the daytime, containing five instances of the word -------.

Ofcom has warned broadcasters that "in general listeners do not expect to hear strong language during the day on radio", regardless of whether children might hear it.

It said: "Radio broadcasters should avoid broadcasting lyrics that clearly focus on the taking of drugs, sexual acts or behaviour, or convey a clearly sexualised theme, when children are particularly likely to be listening."

It said that the broadcasting of offensive language when children are likely to be listening has "frequently been the focus of complaints".

The regulator wants broadcasters to be more careful about live music and interviews.

This summer, Radio 1's Big Weekend was the subject of an Ofcom investigation because of swearing from the Black Eyed Peas set. Radio 1 issued warnings and also apologised for the broadcast.

Last year, Radio 5 Live was criticised by the watchdog for letting US band Rage Against The Machine swear four times on its breakfast show before they were faded out by a producer.

Ofcom said radio stations should "be vigilant" during the broadcasts for any potential breaches.