THE first Queenslander charged over Facebook vandalism for plastering child pornography over sites set up to pay tribute to two slain schoolchildren has been jailed for three years.

The Brisbane District Court was told Bradley Paul Hampson, 29, posted offensive messages and photographs on Facebook "RIP tribute'' pages for a 12-year-old boy stabbed at a Brisbane school and a nine-year-old Bundaberg girl abducted and murdered in February last year.

Hampson, of Tarragindi, on Brisbane's southside, on Friday pleaded guilty to two counts using a carriage service, the internet, to cause offence and one each of distributing and possessing child exploitation material -- meaning child pornography -- between February 14 and June 4 last year.

Prosecutor's said Hampson "posted'' photographs of one victim with a penis drawn near their mouth and highly offensive messages, including "Woot I'm Dead'', "Had It Coming'' and others too offensive to publish.

The court was told the deaths of both children received extensive national media coverage, however, under Queensland law neither child can be identified.

Judge Kerry O'Brien jailed Hamspon for three years, but ordered he be released after serving 12-months.

Judge O'Brien ordered Hampson be placed on a two-year probation order upon his release from jail.

Originally published as Troll jailed for Facebook porn