It was right around the middle of the second quarter Sunday night, long before Nick Foles led the Eagles on the Super Bowl-winning touchdown drive, long before the Philadelphia quarterback was named MVP following a glorious victory over Tom Brady and the Patriots.

A few Bills fans began asking me whether Buffalo should go after Foles in the offseason. The chirping only grew louder in the second half as he continued to play well, and then reached a cacophonic state after he slayed the beast and the confetti rained down him.

This is what happens when you don’t have a quarterback on your favorite team, when you haven’t had a legitimate quarterback for more than two decades — minus a couple of fun seasons from Doug Flutie and one by Drew Bledsoe around the turn of the century. Seemingly every time a quarterback on another team shines, fans want to know if he’s someone the Bills should try to get.

Would Foles look good in a Buffalo uniform come fall? Well, maybe. The Foles who just shredded the Falcons, Vikings and Patriots by completing 72.6 percent of his postseason passes and averaged 323.1 yards per game with 6 touchdowns, just 1 interception, and had an average yards per attempt of 9.2 yards? Yeah, that guy would be outstanding.

The Foles from 2013 who stepped in for Michael Vick and threw 27 touchdowns compared to two interceptions and led the league in average yards per attempt (9.1) and passer rating (119.2)? Absolutely, you try to get that guy.

But what about the Foles who could not back up that 2013 season and was benched in 2014, then was traded by the Eagles to the Rams before 2015? The Foles who played lousy in St. Louis, though he had an excuse playing for Jeff Fisher? The Foles who signed with the Chiefs in 2016 and couldn’t beat out Alex Smith? Or the Foles who, across 49 career games (39 starts) has completed a somewhat mundane 60 percent of his passes and has averaged just 199 yards passing per game?

Look at Foles at the end of the regular season when he took over for injured Carson Wentz and many Eagles fans were fully convinced their Super Bowl hopes were dead. In the three games he started — against non-playoff teams Oakland, Dallas, and the Giants — Foles struggled as he completed just 56.4 percent of his passes with 5 TDs and 2 picks for a passer rating of 79.2.

On this wonderful Monday — wonderful because the Patriots lost a Super Bowl — Foles is the biggest story in sports. He had a magnificent three-game postseason run, reminiscent of what Joe Flacco did in leading the Ravens to a Super Bowl victory after the 2012 season.

Since then, Flacco has been a mediocrity with a 38-36 record as Baltimore has missed the playoffs four of the last five seasons. Foles had been largely a mediocrity before January 2018, and there’s evidence that he could be again if he winds up in a different situation than the perfect one he was in with the Eagles.

Remember, the Eagles were one of the best teams in the NFL before Wentz went down on Dec. 10 in Los Angeles. They have an outstanding offensive line, one of the best in the NFL; they have a solid running game with LeGarrette Blount, Jay Ajayi and Corey Clement; they have playmaking receivers in Nelson Agholor, Alshon Jeffery and Torrey Smith, plus one of the best tight ends in football, Zach Ertz. Oh, and while it didn’t look that good Sunday night, Philadelphia also has one of the best defenses in the league as it allowed the fourth-fewest yards and points in 2017.

Foles did what any viable backup quarterback should have done this postseason — he played his part and had plenty of help from the tremendous talent he was surrounded by.

Should the Bills manage to pry him away from Philadelphia, can he replicate that performance in Buffalo? With an offensive line that just lost Eric Wood, and counts Jordan Mills and Vlad Ducasse as starters? With a still excellent, but now 30-year-old running back in LeSean McCoy? With receivers who, as a whole, were one of the weakest groups in the league?

Further, should the Eagles trade Foles because he has just one year left on his contract? Arm-chair GMs like you and me can agree they should entertain offers, but unless they get an offer that blows them away, it would be wise to keep him, and here’s why.

First of all, it’s not a great look trading the Super Bowl MVP. More important, Wentz suffered a torn ACL in December and he probably isn’t going to be ready to practice full-time until training camp, assuming his recovery and rehab are on schedule.

Wentz is a mobile quarterback who puts himself in harm’s way, so he’s always at risk for injury. Unless the Eagles are convinced they can replace Foles with a reliable backup, why get rid of Foles now when their window, given all the talent they have, is wide open to perhaps repeat as Super Bowl champs? Doesn’t make much sense to me.

I would guess they might be able to get a second-round pick for him. Is that second-round pick worth not having the insurance Foles provides? And, if you’re that team giving up a second-round pick, unless you can get Foles to agree to a long-term extension, you only have him for one year before he hits free agency.

Foles just won a Super Bowl, and he is four years younger than Alex Smith, he of the 2-5 career postseason record. Smith just signed an extension worth $70 million in guaranteed money after the Chiefs traded him to the Redskins when he had one year left on his contract. Do the Bills want to spend a second-round pick, plus shell out similar money, on Foles, given the case I just laid out before you?

I still say the best way to get your franchise quarterback is to draft him, not by trading for a flavor-of-the-month 29-year-old player who has shown inconsistency in the NFL ever since Philly picked him in the third round back in 2012. With that in mind, let one of the other teams in need of a QB — possibly the Broncos or Jets? — trade for Foles, creating another opening near the top of the draft for Buffalo.

Given that he just beat the Patriots, Foles is my favorite NFL player today, but that doesn’t mean I think he’s the right fit to be the Bills’ next quarterback.