A Rogers Park teenager shot a man because he didn’t like the comments the man made about the recently slain rapper Young Pappy on Facebook, Cook County prosecutors said Thursday.

Just four days after the rapper, whose real name is Shaquon Thomas, was gunned down in Uptown, Germel Dossie, 17, allegedly shot Clifton Frye over the remarks Frye made about the rapper on the social media site, authorities said.

Assistant State’s Attorney Akash Vyas didn’t say when or what 22-year-old Frye had written on Facebook.

Frye is currently in critical condition at Saint Francis Hospital in Evanston. He is on a ventilator and is unresponsive, Vyas said.

Dossie had asked his friend to drive to the Rogers Park neighborhood as an apparent getaway driver on the afternoon of June 1. Dossie accosted Frye while he was walking in the 7600 block on North Ashland Avenue, authorities said.

Dossie’s friend, who had parked near an alley, heard three to four shots and then saw Dossie jump back into the car with a gun following the shooting, Vyas said.

Dossie demanded that his friend drive away and asked to be dropped off near Glenwood and Pratt, Vyas said.

Surveillance video captured an armed Dossie running from an alley towards Frye and shooting, Vyas said.

The footage also caught the license plate of the car Dossie was in.

Dossie was arrested on Tuesday after police officers saw him get out of an Albany Park apartment and into a car. They followed and arrested him in the 3900 block of West Montrose Avenue.

Dossie is a sophomore at Truman High School, Assistant Public Defender Sandra Bennewitz said in court.

He is also a member of the Insane Cutthroat Gangsters, a faction of the Gangster Disciples, according to his arrest report.

Judge Donald Panarese Jr. ordered Dossie held in lieu of $1 million bail Thursday for attempted murder and aggravated battery with a firearm.

Young Pappy was not signed to a record label, but his song “Killa” and “Fanteo Freestyle,” has thousands of views on YouTube.

The 19-year-old had previously been the intended target in at least two shootings that left bystanders dead before he was killed on May 29th.