A Thai television journalist was sentenced to two years in prison on Tuesday on charges of libelling a chicken farm on Twitter, her lawyer said.