A drug supplier was tracked down by a teenager’s dad on Facebook after the girl was found unconscious in the street.
The 23-year-old suspect, Marc Barron, offered the 14-year-old schoolgirl and her friend ecstasy in a flat in Post Glasgow.
Later, the girl was found passed out on a nearby footpath and rushed to hospital.
The next day the girl was quizzed by her father and she told him what had happened. He then found Barron on Facebook and sent him a private message.
They arranged to meet in a supermarket car park where the 23-year-old apologised for what had happened.
Both men then went to a police station, where Barron pleaded guilty to supplying the Class A drug to two 14-year-olds.
His sentenced has been deferred until 27 June for an updated criminal justice and social work report.

Nearly 200 Businesses Back Proposed West London Orbital Railway
Former Police Officer from West Yorkshire Convicted of Rape and Misconduct
Huddersfield Man Found Guilty of Historic Sexual Offences Against Teenage Girls
Bradford Couple Say Harassment Complaints Are Being Ignored
Accrington Drug Dealer Jailed After Crack Cocaine Found Hidden in Deodorant Can
Tour de France 2027 to Race Through Blackburn and Darwen
Vandals Rip Out Bollards at Popular Halifax Beauty Spot
Bradford Council Proposes £50m Savings to End Reliance on Government Financial Support
Hillingdon Residents Face 70% Parking Charge Increase from April 2027
Milton Keynes Council Cracks Down on Scams, Rogue Traders and Unsafe Businesses
Two Men Jailed for 28 Years Over Deaths of Leeds Mother and Daughter
Police Appeal to Two Women Following Indecent Exposure Report in Slaithwaite
Bhangra Nights
Remix Saturdays
The Golden Era
Alim OnAir