The Red Wings lost their second straight and fell two points behind St. Louis in the race for the Central Division title. The Flyers have captured three in a row.
Philadelphia's goals came in succession after Henrik Zetterberg gave Detroit the early lead.
Talbot's goal came with 5:50 to go in the second and Detroit climbed back within one on Johan Franzen's 25th of the season midway through the third.
Ilya Bryzgalov made 37 saves to get the victory.
Joey MacDonald, making only his 11th appearance of the season, stopped 20-of-23 shots for the Red Wings.