Philippe Coutinho scored the only goal of the game with a stunning second-half strike, cutting inside before curling an unstoppable effort in off the far post.
It was a goal worthy of stealing the headlines on any other occasion, but those belonged to Iniesta on the night and the legendary midfielder was given a standing ovation when he was taken off in the 82nd minute.
Find out how all of the action unfolded courtesy of Sports Mole's coverage below.
7.40pmGood evening! Thank you very much for joining Sports Mole for tonight's match as champions Barcelona host Real Sociedad in the final game of the La Liga season!
Tonight will be all about Andres Iniesta, with the legendary midfielder calling time on his Barcelona career after this match. Iniesta has won a whopping 32 trophies during his 16 years in the first team, and he has been at Barcelona since 1996.
It is sure to be an emotional occasion, and the hosts will be desperate to give him a winning send-off.
7.41pmKickoff is just around the corner at the Camp Nou, so let's quickly bring you some team news...
7.45pmThere is a brilliant mosaic being made by the fans inside the Camp Nou in honour of Iniesta tonight. He is loved by these fans, and this really is the end of an area for the club tonight.
1 minKICKOFF: After Messi is handed a Player of the Month award by Xavi, Sociedad finally get us underway at the Camp Nou!
2 minCHANCE! An early chance for Sociedad to spoil the party as Januzaj advances down the right flank before picking out Willian Jose in the middle, but he plants his header straight at the keeper.
4 minBrilliant from Dembele as he shows his dancing feet early on. Iniesta is inevitably the creator with a pass out to the right and Dembele beats three defenders on his way into the box before finally being stopped.
7 minSAVE! This has been an open start to this match, and Ter Stegen is called into action again as he pushes Januzaj's low strike away from goal.
9 minSHOT! It is Sociedad who are looking the more likely to open the scoring at the moment. Willian Jose is the latest to have a crack, but his powerful effort zips wide of the target.
10 minCLOSE! Iniesta hasn't exactly been a prolific goalscorer in his Barcelona career, but he comes close here with a low strike from the edge of the box which ripples the side-netting on its way behind.
16 minChance for Barcelona to test the keeper here as Suarez wins a free kick in a very dangerous position. With no Messi on the pitch, Suarez may take this one on himself...
17 minSuarez does indeed go for goal, but his effort slams straight into the wall.
18 minCHANCE! Big chance for Barcelona to open the scoring as Pique finds himself completely unmarked from a corner, but fluffs his lines as the ball arrives at his feet. His scuffed effort is easy for the keeper to gather.
24 minReal Sociedad certainly haven't just turned up to join in the party here tonight. They are holding their own against the champions in this first half so far.
25 minCHANCE! Good chance for the hosts as Coutinho dances past a couple of players before spreading the ball out to Dembele, who delivers an early cross. Rakitic meets it well in space, but directs his header wide of the target when he should have done better.
27 minCHANCE! Half a chance for Barcelona again, and once more Dembele is the creator. He plays a low ball into the box for Suarez, who gets in front of his marker but steers his effort wide of the far post.
30 minSHOT! Sociedad come forward - which is increasingly rare now - and Oyarzabal collects the ball on the edge of the area. He is allowed the space to turn and shoot, but he never looks particularly confident and his tame shot dribbles past the post.
34 minDembele has looked lively tonight, but he still isn't quite on the same wavelength as his fellow strikers. He clearly has the ability to beat players with ease, but his link-up play with Suarez and Coutinho et al is just not there yet.
36 minConcern for Barcelona here as Mina and Alba collide when chasing the ball, leaving the latter writhing in agony on the floor. He looks in some pain here, which is not good for him with the World Cup on the horizon.
40 minSHOT! Good play from Januzaj on the right as he escapes the attention of Mina before playing a low ball to the edge of the box which Willian Jose blazes over.
42 minYELLOW CARD! This is a naughty one from Navas. Barcelona break quickly and have three on three, with Dembele leading the charge. He beats Navas, who dives in and catches Dembele right on the ankle. It is a nasty challenge and could easily be a red, but the referee only produces a yellow.
43 minYELLOW CARD! Suarez has also gone into the book for his complaints against only a yellow being shown to Dembele.
44 minThankfully Dembele is back on his feet and may be able to continue here. On first glance you would not have been surprised if damage had been done to the ligaments or the bone there, but Dembele appears to be OK.
45 minSure enough, the winger limps back onto the field, although he is still not moving freely at all.
45 minJust one minute of added time at the end of this first half.
8.44pmThe first half comes to an end at the Camp Nou, and it remains goalless between Barcelona and Real Sociedad in Andres Iniesta's farewell game for the club.
Both sides have had their chances in that opening 45 minutes, with Barcelona squandered the two best through Pique and Rakitic, but it is all square and still all to play for on the final day of the season.
8.46pmAs far as Iniesta-watch is concerned, the maestro has been one of the more influential players on the pitch, controlling Barcelona's tempo as ever and playing one or two trademark incisive passes.
Ousmane Dembele has also been lively for the hosts, although there is a question mark over whether he will come back out for the second half after being on the end of a nasty challenge towards the end of that opening 45 minutes.
46 minKICKOFF: Barcelona get us underway for the second half at the Camp Nou!
47 minSociedad win an early free kick in a good position, but Willian Jose's strike hits the top of the wall and deflects over for a corner.
52 minDembele has emerged for this second half, by the way, but he still doesn't seem to be moving entirely freely. Everyone involved in the French national team will be holding their breath every time he gets the ball.
53 minYELLOW CARD! Januzaj goes into the book for a high challenge on Mina.
54 minBARCELONA SUB: Sure enough Dembele does depart here, being replaced by Denis Suarez.
57 minGOAL! Barcelona 1-0 Real Sociedad (Philippe Coutinho)
57 minOh my word, where has this come from?! Out of nothing, Coutinho has scored a beauty to open the scoring here at the Camp Nou!
The Brazilian dribbles forward and just dips inside past a defender to give himself a yard. He then curls a brilliant strike in off the far post, leaving the keeper no chance whatsoever.
63 minREAL SOCIEDAD SUB: The visitors make a change here as Sergio Canales replaces Januzaj.
65 minThis crowd is just waiting for a chance to fall to Iniesta tonight, and he almost gets one here after a clever one-two with Rakitic only to be tackled as he tried to dip inside.
67 minBARCELONA SUB: We will get to see Iniesta and Lionel Messi on the pitch at the same time one last time. The Argentine replaces Coutinho.
68 minCHANCE! Pique has had a couple of chances tonight, but again he fails to make the most of this one as his volley is straight at the keeper.
69 minCHANCE! Messi is immediately involved with a rapier-like thrust down the middle of the park before finding Denis Suarez, but the midfielder seems to be caught in two minds and fires his shot-cross wide of the far post. He should have just gone for goal himself there!
71 minREAL SOCIEDAD SUB: Change for the visitors as Alvaro Odriozola comes on for Elustondo.
72 minYELLOW CARD! Alba picks up a cheap yellow card for kicking the ball away in disgust at the referee's decision.
76 minYELLOW CARD! Rakitic picks up a yellow card for a cynical foul to stop a counter-attack.
77 minCHANCE! Brilliant football from Barcelona as Messi bursts forward before giving the ball out to Suarez, who in turn stands the ball up to the far post. Messi hangs in the air - dare I say Ronaldo-esque - but his header is saved by the keeper.
80 minMessi is keen to make an impact during his cameo appearance! He has been full of energy since coming on and looks so dangerous every time he gets the ball.
81 minSHOT! Illarramendi drills a low strike towards goal from 25 yards, but his effort goes wide of the target.
82 minBARCELONA SUB: This is a special moment at the Camp Nou - Andres Iniesta says goodbye to Barcelona, being replaced by Paco Alcacer. He says goodbye to every player on his way off the field, and every single one of them wants to say goodbye - even the ref!
85 minGet the tissues at the ready, folks - here is Iniesta's emotional goodbye...
9.47pmRight, that is all we have time for this evening!
Thank you very much for joining Sports Mole for Andres Iniesta's farewell Barcelona performance as the Spanish champions sign off with a 1-0 win over Real Sociedad. I will leave you with our match report, and be sure to stick around for reaction too.