Macauley Colledge, 22 and Niall Carnworth, 20 attacked their teenage victim in Kingswood Road, Nuneaton in March last year.
Warwick Crown Court heard Carnworth punched the victim to the floor where he continued to punch and kick him before Colledge smashed a bottle in the victim’s face.
Video footage of the incident posted on social media helped lead to Colledge and Carnworth being identified as the attackers.
Colledge and Carnworth both pleaded guilty to attempted grievous bodily harm with intent.
Colledge previously of Swannest Grove, Nuneaton was sentenced to two years in prison to run alongside a prison sentence he is currently serving.
Carnworth of Hardy Close, Nuneaton was given a two-year prison sentence suspended for two years.
Detective Constable Dean Clark from Nuneaton CID said: “Colledge and Carnworth intended to cause serious damage to their victim and they succeeded. This was a vicious and sustained attack that left a young man with serious facial injuries; they should be thankful it wasn’t worse.”