An incredible first 45 minutes produced five goals, with the home side leading 3-2 at the half-time break.
Sociedad threatened to complete the comeback in the second period as they dominated against a lacklustre Barcelona, but first-half goals from Lionel Messi (2) and Paco Alcacer proved just about enough to win the contest.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
BARCA: Ter Stegen; Roberto, Pique, Umtiti, Alba; Busquets, Rakitic, Gomes; Alcacer, Suarez, Messi
SOCIEDAD: Rulli; Zaldua, Navas, Inigo, Yuri; Prieto, Illarra, Zurutuza; Vela, Willian, Oyarzabal