Teenagers arranged to take part in rioting in north Belfast through Facebook, a court heard.
Lawyers said the social networking site was used by those suspected of involvement in rioting in the Carlisle Circus area.
Three men and two boys aged 15 and 17 appeared before courts in the city charged over Monday night's disorder.
Robert Douglas (19) of Baltic Avenue; Lee Patrick McCartan, (18) from Friendly Street; and David Irwin (20) of Highpark Drive — all in Belfast — are each charged with riotous assembly.
Douglas and McCartan face other charges. None sought bail at Belfast Magistrate’s Court.
All three were remanded in custody.
Meanwhile, Belfast Youth Court heard claims that troublemakers had gone online to use Facebook.
Two boys, aged 17 and 15, neither of whom can be named, were both granted bail, banned from going within 500m of Carlisle Circus and from using social media.