It's an interesting story. Credited to James Young, known as Paraffin Young. Rather than extraction by Fracking the Shale was mined and the oil extracted by heating. There were many spoil heaps in West Lothian, known locally as "bings" which were distinguishable from those of coal mine by their red/orange colour. Most were removed in the 1970/80s for motorway construction, I think.
The coal, or some of it, in West Lothian had a high oil content and was known as "canal coal" candle coal because of the way it burnt.
Young started production in the mid 19th century, and production continued well into the 20th century. There's a lot on the Internet about the West Lothian oil industry.
First Shale Oil boom
Hope that helps.