By CBS3 Staff

PHILADELPHIA (CBS) – Authorities say over a dozen middle school students at West Oak Lane Charter School knowingly ingested marijuana edibles at school on Friday morning. Philadelphia police and school officials are investigating what they say was a planned event spread through social media.

The school was on lockdown for much of the day as police investigated what happened. They say a seventh-grader bought the marijuana-infused Rice Krispie treats online, brought them to school and gave them to her classmates.

READ MORE: Officials Say Space Heater Caused House Fire In Levittown, Bristol Township

At least 15 seventh-graders, around the age of 12, fell ill after eating the treats. None of them needed to go to the hospital.

Parents rushed to the school after hearing about the situation. They say they were notified by voicemail there was an incident at the school, but were never told exactly what happened.

School administrators told Eyewitness News the scheme to buy the edibles and distribute them was plotted through social media.

READ MORE: North Philadelphia Shooting Leaves Teenage Boy Dead After At Least 20 Shots Fired, Police Say

“Social media drives a lot of these kinds of situations. Parents absolutely need to be focused and monitoring the social media sites that their children are using,” school CEO Dr. Debbera Peoples-Lee said.

The student accused of bringing in the treats may be facing charges.

The incident remains under investigation.

MORE NEWS: WATCH LIVE: Inauguration Of New Jersey Governor Phil Murphy, Lieutenant Governor Sheila Oliver

CBS3’s Howard Monroe contributed to this report.