George Mason and Nicholas Mullen of Belfast were both sentenced for the act.
A porn star who filmed himself and his ex-partner having a threesome in front of passengers on the London Underground has been fined £1,000 (€1,140).
George Mason, 35, and Nicholas Mullan, 24, had sex between Leicester Square and Waterloo stations, Westminster Magistrates' Court heard.
A video was posted on Twitter with the caption "100% genuine footage".
Mason, of Southwark, admitted outraging public decency.
Mullan, of Belfast, was not fined but told to pay £170 costs and carry out a 12-month community order.
The incident happened in July 2017, but it was not reported until February last year, when it was posted on Twitter.
Prosecutor Robert Simpson said "the two men in the dock engaged in various sexual acts" on the Tube "in the presence of the travelling public".
Mr Simpson said: "The incident is recorded by them and the video of what happened was subsequently uploaded on to Twitter, where another gay man saw it, thought that had crossed the line of what was acceptable behaviour and the incident was reported to the police."