Britisk mann dømt til to års fengsel for Facebook-kommentar.