MacEwen redirected Justin Braun's shot from the right point to give the Flyers a 2-1 lead with 9:40 remaining. The goal was his first in his 10th game with Philadelphia.
"It's nice to get that one out of the way, getting rolling with the boys here," MacEwen said. "Hopefully it kind of opens it up for me a little bit to keep it going."
Farabee tied it 1-1 at 4:06 when he gathered Scott Laughton's long dump-in off the end boards and scored five-hole.
"It's more his IQ, being able to read that I have a lot of speed coming there," Farabee said. "He puts it in the perfect spot where it banks right to me. Pretty elite play I'd say."
With less than five minutes left in the third period, Hart made a shorthanded save on Derek Stepan in the slot before stopping Jordan Martinook on a backhand.
"I'm just trying to do my job and stop pucks and have fun," Hart said. "Whatever comes my way, I've just got to stop it. They came out hard and we just had to battle."