Match ends, Burnley 1, Barnsley 0.
Burnley 1-0 Barnsley in FA Cup third round
Chris Wood scored a stoppage-time penalty as Burnley beat Barnsley to reach the FA Cup fourth round.
Liam Lindsay brought down Matej Vydra before Wood - a 74th-minute replacement for Sam Vokes - scored low to Adam Davies' right at Turf Moor.
Premier League Burnley had a first-half penalty overturned by the video assistant referee (VAR) for offside.
Moments later, Cameron McGeehan's header for League One Barnsley was ruled out for offside.
Barnsley pay the penalty
Burnley, who made eight changes to the side that beat Huddersfield in the Premier League on Wednesday, had gone 64 games without being awarded a penalty before referee Simon Hooper pointed to the spot twice on Saturday.
The impressive Vydra won both, although he was unable to take the first after a VAR review revealed he was just offside when he received the ball from Steven Defour.
Burnley appeared to criticise the decision in a half-time tweet, but later apologised and said it was intended as a "light-hearted comment".
Burnley enjoyed a resurgence in the second half, when they registered seven shots at goal - and they were finally rewarded when Lindsay lunged at Vydra near the byeline.
Although promotion-chasing Barnsley enjoyed more possession against a side two divisions above them, they did not produce a shot on target.
Wood has now scored four goals in the third round for four different teams - West Brom, Brighton, Leicester and Burnley.
'We've pieced together a side' - what they said
Burnley manager Sean Dyche said: "We've pieced together a side and I'm pleased because that was a good Barnsley side.
"I felt we had enough to win the game and did enough to win the game, especially at the end of a big, important week for us.
"I'm a big advocate of VAR but the referee needs to hold the ball. I know they want to be right, but they do need to speed it up and those things will get ironed out.
"The referee allowed the set-up for a penalty and I know we are learning about it, but the referee should grab the ball and walk outside the penalty area, so there are no implications.
"Matej had got to the point of his run-up before the referee blew his whistle and said 'no'.
"That delay was what annoyed me - not the outcome - because once you know that is right you quickly move on."
- 28LongBooked at 87mins
- 23WardSubstituted forBerg Gudmundssonat 59'minutes
- 16DefourSubstituted forCorkat 78'minutes
- 9VokesSubstituted forWoodat 74'minutes
- 7Berg Gudmundsson
- 28WilliamsBooked at 67mins
- 7HedgesSubstituted forMooreat 63'minutes
- 21BähreSubstituted forDougallat 83'minutes
- 26ThiamSubstituted forMoncurat 77'minutes
- Simon Hooper
- Shots on Target
Second Half ends, Burnley 1, Barnsley 0.
Attempt blocked. Dimitri Kevin Cavaré (Barnsley) right footed shot from the right side of the box is blocked.
Goal! Burnley 1, Barnsley 0. Chris Wood (Burnley) converts the penalty with a right footed shot to the bottom left corner.
Penalty Burnley. Matej Vydra draws a foul in the penalty area.
Penalty conceded by Liam Lindsay (Barnsley) after a foul in the penalty area.
Attempt missed. Kevin Long (Burnley) header from the centre of the box is high and wide to the right.
Corner, Burnley. Conceded by Ethan Pinnock.
Attempt missed. Cauley Woodrow (Barnsley) right footed shot from outside the box is too high from a direct free kick.
Foul by Ben Gibson (Burnley).
Kieffer Moore (Barnsley) wins a free kick in the defensive half.
Attempt missed. Alex Mowatt (Barnsley) left footed shot from more than 35 yards misses to the left from a direct free kick.
Kevin Long (Burnley) is shown the yellow card for a bad foul.
Foul by Kevin Long (Burnley).
Cameron McGeehan (Barnsley) wins a free kick in the attacking half.
Ethan Pinnock (Barnsley) wins a free kick in the attacking half.
Foul by Chris Wood (Burnley).
Substitution, Barnsley. Kenneth Dougall replaces Mike-Steven Bähre.
Jeff Hendrick (Burnley) wins a free kick in the defensive half.
Foul by Cameron McGeehan (Barnsley).
Substitution, Burnley. Jack Cork replaces Steven Defour.
Substitution, Barnsley. George Moncur replaces Mamadou Thiam.
Substitution, Burnley. Chris Wood replaces Sam Vokes.
Corner, Burnley. Conceded by Liam Lindsay.
Attempt blocked. Dwight McNeil (Burnley) right footed shot from the centre of the box is blocked.
Ben Williams (Barnsley) is shown the yellow card for a bad foul.
Johann Gudmundsson (Burnley) wins a free kick in the defensive half.
Foul by Ben Williams (Barnsley).
James Tarkowski (Burnley) wins a free kick on the left wing.
Foul by Kieffer Moore (Barnsley).
Substitution, Barnsley. Kieffer Moore replaces Ryan Hedges.
Substitution, Burnley. Johann Gudmundsson replaces Stephen Ward.
Foul by Steven Defour (Burnley).
Ryan Hedges (Barnsley) wins a free kick on the right wing.
Attempt missed. Matej Vydra (Burnley) header from the right side of the six yard box is too high.
Attempt missed. Matej Vydra (Burnley) right footed shot from the left side of the box is close, but misses to the left.
Foul by James Tarkowski (Burnley).
Mamadou Thiam (Barnsley) wins a free kick on the left wing.
Attempt missed. Sam Vokes (Burnley) header from the right side of the box is close, but misses the top left corner.
Attempt missed. Mamadou Thiam (Barnsley) right footed shot from outside the box is too high from a direct free kick.