A Facebook user was attacked in his home by a friend who flew in to a rage after reading comments posted on-line.
Lyndon Roberts was angry after seeing what Ian Ashworth had written about him on the social networking site, magistrates at Pontefract heard.
* Click here to 'Like Us' on Facebook.
So Roberts, 18, of Elmete Road, Castleford, went round to Mr Ashworth's home in Ferry Fryston, Castleford, and punched him in the face.
Mr Ashworth, who suffers from haemophilia, was knocked to the ground and later had to undergo a hospital operation to have a cracked tooth removed.
Prosecutor, Diane Gomersall said Roberts and Mr Ashworth used to regularly socialise with a group of friends at Mr Asworth's home.
But she said Mr Roberts felt he was being taken advantage of by the youths - who would often turn up uninvited - and he banned them from visiting.
Mrs Gomersall said: "He (Mr Ashworth) had heard recently that he was going to be subject to what he called a 'rip-off.'
"He spoke to some of his friends on Facebook and posted some of his own comments on that site about Roberts."
The court heard unemployed Roberts, who admitted assault causing actual
bodily harm, went to Mr Ashworth's home on January 11 and knocked on the door.
Mrs Gomersall said: "As he opened the door Roberts rushed in and was very agitated, shouting about the comments made on Facebook. He (Mr Ashworth) head the defendant shout 'if you didn't have that silly disease I would have hit you years ago.' He then punched the complainant to the face."
Tamara Dove-O'Hara, for Roberts, said: "Mr Roberts has lost a friend through this. Mr Roberts and the complainant had some issues, instead of them being resolved, they ended up coming out on Facebook and other people became involved.
"He admits he can't go round punching people, especially someone with the complainant's condition. He lost his temper and is shameful."
Magistrates sentenced Roberts to 100 hours unpaid work.
And he must pay 85 towards court costs and 100 compensation to Mr Ashworth.