Rep. Alexandria Ocasio-Cortez, the socialist Democrat from New York appeared on ABC’s “The View” on Wednesday to soft-sell with a smile her hard-left class warfare agenda as she stumped for Sen. Bernie Sanders.

She was on a roll — and quite pleased with herself — pitting working class families against rich white men, until co-host Whoopi Goldberg took a little air out of her sails by suggesting Ocasio-Cortez was denigrating older Democrats.

“I was very happy when you were elected because I thought it was a great step in a good direction,” Goldberg said, betraying her own radical politics. “And then you lost me because it felt like you were saying to people like me that I was too old and didn’t do enough.”

“Oh, no,” Ocasio-Cortez replied, in an effort to reassure 64-year-old Whoopi that was not the case — AOC is backing a 78-year-old candidate for president.

As she continued, Whoopi aligned herself with Speaker Nancy Pelosi and Sen. Diane Feinstein, D-Calif., as members of the same team.

“Well, that’s what it sounded like. And so that has bothered me because I feel like — I love young people, I was once one,” she said. “But you’re on my shoulders. And we have carried this fight. People like Nancy Pelosi, who was the only chick in the room for years, and Madam Feinstein, who was the only chick in the room for years and had to deal with all of that stuff.

“And to sort of hear it sound like you were dismissing us bothered the hell out of me,” Whoopi concluded. “I’ve been upset about it for a very long time.”

Critics might say what was at play here was Goldberg establishing on national TV that she comes before AOC in the liberal hen house pecking order.

Either way, the bartender-turned-congresswoman told Whoopi that she “appreciated” her sharing her concerns — and then more or less confirmed them.

“I work very closely with my sister Rashida Tlaib and one of the things that she says is we are not divided, we are disconnected,” Ocasio-Cortez countered. “The way that we connect is by sharing, honestly, our takes with each other. That being said, first of all, I think there’s a lot of incentive to blow up disagreements in the party as like huge fights because I think it’s important for us all to recognize — and we do this in our rallies — to recognize the people who have been in this fight to allow us to have this window as we do right now.”

She dutifully showed deference to Pelosi, calling the speaker the “mama bear of the Democratic party,” complete with feigned laughter — the lemmings in the audience cheered, but Whoopi looked on with skepticism.

Ocasio-Cortez would then offer praise for a number of black members of Congress, to include the late Elija Cummings, to appease Goldberg.

“I think, youth and culture, it’s always been seen and cast as rebellious,” she said, “but ultimately, we’re not a moment that’s disconnected from our past, we’re part of a long movement of ancestors and elders that we should always acknowledge.”

Of course, no appearance by AOC is complete without noting at least one blunder, and the RNC did just that when she mistakenly said Sanders was once mayor of Vermont.