A Spanish YouTube star, who gave a homeless man an Oreo cookie filled with toothpaste, has been sentenced to 15 months in prison. He also owes $22,300 to his victim, The New York Times has reported.