Prosecutor Nick Tatlow said Mr Brown set up the ‘decoy profile’ in August calling himself Lucy and using a picture of a young girl.
Mr Tatlow said: “On August 27 the defendant contacted Lucy asking if she wanted to chat. Lucy told him she was 11-years-old.
“The defendant asked for a photo and Mr Brown sent a photo of a young girl. He asked if she wanted to see his private parts and he sent her a photo of them.
“He repeatedly told her he loved her and he wanted to be with her. He asked if she would perform a sex act on him.
“Members of the vigilante group went to his address on August 30 to confront him. They filmed the confrontation and streamed it to their Facebook page. They contacted the police who arrested the defendant.”
Hampson, of Forest Road, Meir, pleaded guilty to two charges of attempting to incite a person under 13 to engage in sexual activity.
Judge Paul Glenn said if he were to send the defendant to prison it would be for a limited time as he had already served the equivalent of a seven-month sentence. Instead he handed Hampson the community order with 120 hours unpaid work.
The defendant was also made the subject of a five-year Sexual Harm Prevention Order and placed on the sex offenders’ register for the same period. And Hampson will be barred from a range of activities involving children and vulnerable adults.
Judge Glenn said: “In August you were communicating with someone you believed was an 11-year-old girl. You initiated contact.
“Within a short period you turned the conversation to sexual matters, asking if she wanted to see your private parts before sending a picture of them.
“You told her you loved her, she was special, beautiful, and sent her your number so she could text you. You sent a second picture of your privates.
“I reject the suggestion that you have no sexual interest in children. There is no question of these images being sent accidentally, as you suggest. It was part of the grooming process.”