Man sentenced to 13 years in prison over Facebook post