A look at what’s happening all around the majors today:

———

WINNERS AT WRIGLEY

The Cubs can set a team record with their 57th home victory when they host the Cardinals at Wrigley Field. Jason Hammel (15-9, 3.56) is trying to prove himself worthy of a postseason rotation spot for the NL Central champs, though he hasn’t helped himself with a 6.87 ERA in three starts this month. Rookie Alex Reyes (3-1, 1.03) gets his fourth start for St. Louis riding a scoreless streak of 11 1/3 innings.

RICK’S ROLL

Rick Porcello (21-4, 3.08) can become baseball’s second 22-game winner in the past five years when Boston plays at Tampa Bay. Jake Arrieta won 22 games while earning the NL Cy Young Award last season, making him baseball’s biggest winner since Justin Verlander won 24 times with Detroit in 2011. Porcello likely only has two starts left, so Verlander’s mark is out of reach, but that win total combined with his late-season dominance — he’s 7-2 with a 2.38 ERA since Aug. 1 — could give him an edge in the AL Cy Young race.

BUILDING UP

Clayton Kershaw (11-3, 1.73) tries to stretch out even more before the postseason when the Dodgers face the Rockies. Kershaw was limited to 66 and 64 pitches in his first two starts after returning from the disabled list, then jumped up to 88 pitches in a 2-1 win over the Giants in his last start. Despite missing more than two months, Kershaw (6.1) entered Friday trailing only Jose Fernandez (6.2) in wins above replacement, per Fangraphs.

RIGHT THAT RANGER

The AL West-champion Rangers hope to get Yu Darvish on track in a game against Oakland before the postseason. Darvish (5-5, 3.81) has a 7.47 ERA in his past three starts, including when he allowed seven runs over five innings last time out against the A’s. Darvish is stumbling at the end of a season that included his successful return from Tommy John surgery, though Texas is just 8-7 this season with their Japanese ace on the mound.

SEARAGE’S LATEST STAR

Ivan Nova starts vs. Washington looking like yet another success story for Pirates pitching coach Ray Searage. After going 7-6 with a 4.90 ERA with the Yankees this season, Nova is 5-1 with a 2.93 ERA in nine starts with the Pirates following a trade Aug. 1. Nova has just three walks in 55 1/3 innings with Pittsburgh, helping him produce a video game-like 15.00 strikeout-to-walk ratio.

GIANT STRUGGLES

Madison Bumgarner (14-9, 2.57) leads San Francisco against the pesky Padres, who had beaten the Giants six straight times before losing 2-1 on Thursday night. Bumgarner is coming off a dominant start against the Dodgers, when he threw seven scoreless innings of one-hit ball in a 2-1 loss. In his six starts previous to that one, Bumgarner had struggled to a 5.30 ERA.

PITTSBURGH (AP) — Fan cheered when Mark Melancon came on to start the bottom of the ninth inning to try to protect a one-run lead for the Washington Nationals. The cheers got louder when the Pittsburgh Pirates’ former closer blew his first save with his new team.

Rookie Jacob Stallings’ pinch-hit single in the 11th lifted the Pirates over Washington 6-5 on Friday night, preventing the Nationals from clinching a postseason berth.

Sean Rodriguez’s two-out RBI double in the ninth tied the score 5-5. Melancon blew a save for the first time in 13 chances since he was acquired from Pittsburgh on July 30 in a trade for left-handed reliever Felipe Rivero and a minor leaguer.

A brief video tribute was played on the scoreboard when Melancon entered the game.

“I didn’t know they were going to put a montage up there,” said Melancon, an All-Star in three of his four seasons with the Pirates. “It was classy. It was very cool to get a standing ovation. … I wanted to tip my cap but I didn’t because I didn’t want to mess up my mojo. I should have tipped my cap.”

Pittsburgh loaded the bases with one out in the 11tth against Yusmiero Petit (3-5) when Francisco Cervelli doubled, Andrew McCutchen was intentionally walked and Pedro Florimon walked. Rodriguez struck out and Stallings, a son of University of Pittsburgh men’s basketball coach Kevin Stallings, grounded a 3-2 pitch into left field.

Pittsburgh’s seventh win in nine games kept it on the fringe of the NL wild-card race.

Washington lost for the fifth time in six games. The Nationals have magic numbers of one for a playoff berth and two for an NL East title.

Despite the expanded September rosters, Stallings was the last player left on the Pirates’ bench.

“I kind of did the math in my head,” Stallings said. “Bases loaded, two outs was the only way I was going to come up that inning. (Bench coach Dave) Jauss came up and told me to be ready. I went down and hit on the tee before that inning. I knew I was the last guy, so I figured just in case.”

Wilson Ramos and Danny Espinosa homered for the Nationals. Bryce Harper had three hits and Ryan Zimmerman hit a pair of doubles.

Zimmerman’s RBI double in the second inning opened the scoring and was the 1,500th hit of his 12-year big league career. Espinosa followed with 23rd homer for a 3-0 lead.

Ramos led off a two-run sixth with his 22nd homer, a drive off Antonio Bastardo. Jayson Werth drew a bases-loaded walk later in the inning as the Nationals went back ahead 5-3.

Adam Frazier had a sacrifice fly in the bottom of half.

Wade LeBlanc (4-0) pitched one scoreless inning.

Pirates left fielder Gregory Polanco left the game in the first inning when bruised the left side of his face when crashing into the fence while chasing a double by Harper.

Both starters, Washington left-hander Gio Gonzalez and Pittsburgh rookie Jameson Taillon, allowed three runs in five innings.

“It’s disappointing because you want to wrap up a playoff berth as fast as you can but you’re not going to win every game,” Gonzalez said. “You’ve got to come back and get them tomorrow.”

MINOR HONORS

First baseman/outfielder Josh Bell is the Pirates’ minor league player of the year and right-hander Mitch Keller their minor league pitcher of the year. Bell hit .295 with 14 home runs in 114 games for Triple-A Indianapolis before being promoted to the major leagues. Keller went a combined 9-5 with a 2.35 ERA in 24 starts at Class A with West Virginia and Bradenton.

ROTATION SWITCH

Rookie right-hander Tyler Glasnow will start Sunday for the Pirates rather than rookie left-hander Steven Brault. Considering the organization’s top propsect, Glasnow is 0-1 with a 4.11 ERA in five games, including two starts.

TRAINER’S ROOM

Nationals: 2B Daniel Murphy did not start for a fifth game in a row after an MRI revealed a strained glute muscle. He will sit out the three-game series be reevaluated.

Pirates: RHP A.J. Schugel (shoulder inflammation) was placed on the 60-day disabled list, opening a roster spot for LHP Phil Coke, who joined the team after being acquired Thursday from the New York Yankees. . LF Starling Marte (back) sat out after being removed from Thursday night’s loss at Milwaukee in the third inning. He missed 15 games before pinch hitting against the Brewers on Wednesday night. . SS Jordy Mercer (right forearm tightness) missed his second straight game.

UP NEXT

Nationals: RHP Joe Ross (7-5, 3.48 ERA) will start Saturday night, his second outing since missing 2½ months with shoulder inflammation. He pitched three innings and gave up one run last Sunday against Atlanta in a no-decision.

Pirates: RHP Ivan Nova (12-7, 4.19) is 5-1 with a 2.93 ERA in nine starts since being acquired Aug. 1 from the New York Yankees in a trade. He took his first loss with the Pirates last Sunday, allowing five runs in three innings against Cincinnati.

BALTIMORE (AP) — Mark Trumbo breathed some life into the Baltimore Orioles’ postseason hopes.

Trumbo led off the 12th inning with his major league-leading 44th home run, and the Orioles rallied from a late two-run deficit to beat the Arizona Diamondbacks 3-2 on Friday night.

After getting swept in a four-game series by Boston, the Orioles remained a half-game behind Detroit for the AL’s second wild card.

“This is the type of game you definitely want to win because it can be a real gut punch if it goes the other way,” Trumbo said.

Baltimore trailed 2-0 before Pedro Alvarez homered in the eighth off Enrique Burgos and Matt Wieters homered against Daniel Hudson leading off the ninth.

Oliver Drake (1-0) pitched a scoreless 12th for his first big league win. Matt Koch (1-1) relieved to start the bottom half and Trumbo sent his first pitch over the left-field fence, setting off a celebration. It was Baltimore’s sixth walk-off home run this season.

“They did a great job of battling back and tying the game and we did a great job of stopping them from winning the game a couple of times,” Rockies manager Chip Hale said. “We had some great plays. We left a ball up there in the middle of the plate for Trumbo and we know what he can do with it. We’ve seen it before.”

Baltimore, which stranded 14 runners, nearly won the game in the ninth. J.J. Hardy tried to score from second on Adam Jones’ single but was called out after the throw from left fielder Brandon Drury to catcher Welington Castillo, a play upheld by video review.

“I thought he was safe,” Orioles manager Buck Showalter said. “The only thing they could have possibly said that they weren’t sure J.J. got there. The guy tagged him with the glove and had the ball in his throwing hand. You’ve got to help me with that one. I’m sure you all saw the same thing we did. Another head-shaker. We’ve had quite a few of them this year.”

Arizona built a lead against Yovani Gallardo on RBI doubles by Jake Lamb in the first and Jean Segura in the second. Gallardo has allowed 22 runs in the first inning this season.

“You never want to have a start in that way, giving up a run in the first, giving up a run in each of the first two innings,” Gallardo said. “It’s going to happen.”

Arizona’s Shelby Miller allowed just three hits in six innings and remained winless since June 20.

“Against a lineup like that, in a tough ballpark to pitch in, it’s always tough to throw zeroes,” Miller said. “And to get a good outing like that against that team . really the biggest thing was we made a lot of good plays on defense.

DOMINANT BULLPEN

Six Orioles relievers — Darren O’Day, Brad Brach, Mychal Givens, Zach Britton, Tommy Hunter and Oliver Drake — each threw one scoreless inning.

TRAINER’S ROOM

Diamondbacks: RHP Zack Greinke did not travel with the team because of shoulder stiffness. He is expected to have an MRI.

Orioles: RHP Kevin Gausman will likely start Tuesday or Wednesday in Toronto after being pushed back because of soreness in an oblique.

UP NEXT

Diamondbacks: RHP Robbie Ray (8-13, 4.66 ERA), scheduled to start Saturday, entered the weekend fifth in the NL with 210 strikeouts. He is making his first career start against Baltimore.

Orioles: LHP Wade Miley (8-13, 5.65 ERA) returns after leaving in the fifth inning Sept. 18 against Boston with a strained back muscle. Miley, selected by Arizona in the first round of the 2008 amateur draft, is facing his former team for the first time.

WASHINGTON (AP) — The Latest on the U.S. presidential election campaign (all times EDT):

10:50 p.m.

Donald Trump’s campaign is planning for what it says will amount to $140 million worth of advertising from now until Election Day.

Senior communications adviser Jason Miller says the total, if executed, would include $100 million in television airtime and $40 million worth of digital ads.

He said $15 million of the buy was placed Friday.

The television purchase is expected to include $60 million on local stations and another $40 million in national airtime.

The campaign is targeting key battleground states like Florida, North Carolina, Ohio and Pennsylvania, along with Michigan, Maine, New Mexico, Wisconsin and others.

———

9:50 p.m.

Hillary Clinton’s campaign says she has decided to postpone her planned trip to Charlotte, North Carolina, on Sunday after hearing from community leaders.

Clinton announced earlier Friday that she would travel to Charlotte in the aftermath of the shooting of a black man by a Charlotte police officer.

But Clinton’s campaign now says that after further discussions with community leaders, the Democratic presidential nominee will postpone the trip to avoid straining the city’s resources.

Clinton’s decision came after Charlotte Mayor Jennifer Roberts told CNN that Clinton should postpone her visit because the city’s security resources were stretched thin.

Clinton now plans to visit Charlotte on Sunday, October 2.

———

9:20 p.m.

Benjamin Netanyahu’s office says the Israeli prime minister will meet separately with presidential candidates Hillary Clinton and Donald Trump on Sunday.

The Israeli Embassy declines to say where the meetings will take place.

Netanyahu has been in New York City over the last week for the U.N. General Assembly meeting. He met Wednesday evening with President Barack Obama in what is likely to be their last sit-down before Obama leaves office in January.

Clinton and Trump each met Monday with Egyptian President Abdel-Fattah el-Sissi in New York. Clinton also met with the leaders of Japan and Ukraine.

———

9 p.m.

The mayor of Charlotte is urging Hillary Clinton to postpone her announced visit to the embattled North Carolina city.

Mayor Jennifer Roberts tells CNN that the Democratic presidential nominee should hold off coming to Charlotte after days of protest following the shooting of a black man by police.

Clinton’s campaign said earlier Friday that she would travel to Charlotte on Sunday, one day before her first high-profile debate with Republican Donald Trump.

But Roberts, a Democrat, says Charlotte’s security resources are “very stretched,” and is asking both candidates to give Charlotte “a chance to get our city back to order” before visiting.

——

5:10 p.m.

Hillary Clinton says the police video of the shooting of Keith Lamont Scott in Charlotte, North Carolina, should be released “without delay.”

The Democratic presidential candidate plans to travel to the city on Sunday ahead of her first debate with Donald Trump.

Clinton says on Twitter that authorities should release the video of the shooting of the black man by Charlotte police. She says, “We must ensure justice & work to bridge divides.”

Her campaign says Clinton will travel to Charlotte one day before her high-profile debate with Trump, her Republican opponent.

A video recorded by Scott’s wife was released Friday by his family and does not indicate whether Scott had a gun. Police have said he was armed by witnesses say he held only a book.

———

4:45 p.m.

Democratic vice presidential nominee Tim Kaine says he never would have supported someone who treated his father the way Donald Trump treated Sen. Ted Cruz’s father.

Kaine said he was “not completely surprised” that Cruz endorsed the Republican presidential candidate Friday after several months of holding out.

But Kaine also expressed disbelief that, during the Republican primary, Trump had falsely suggested Cruz’s father was involved in the assassination of President John F. Kennedy.

Kaine said: “If somebody said that about my dad, they would never have me as a supporter for anything.”

Kaine made the remarks Friday in Austin, Texas, at a news conference with Latino elected officials.

———

4:30 p.m.

Donald Trump says that he’s “greatly honored” by what he describes as Sen. Ted Cruz’s endorsement.

After months of refusing to do so, Cruz announced Friday he would vote for Trump, though he did not describe it as an endorsement.

Trump said in a statement that he and Cruz “have fought the battle” and called Cruz a “tough and brilliant opponent.”

After Cruz had refused to endorse Trump at the Republican National Convention, Trump had declared that he would never accept the Texan’s backing.

Trump said: “He’ll come and endorse, it’s because he has no choice. But I don’t want his endorsement.”

He added then: “Ted, stay home. Relax.”

———

3:40 p.m.

Ted Cruz says he’s voting for Donald Trump for president — a shocking about-face after he rocked the Republican convention by dramatically refusing to do so.

The Texas senator says on Facebook that he made the decision for two reasons. First, his promise to support the Republican nominee. And second, his belief that Democrat Hillary Clinton is “wholly unacceptable.”

The flip-flop was a stunner since the Texan was booed lustily during a floor speech at his party’s convention for urging Republicans to “vote your conscience” without naming Trump.

Cruz finished second to Trump in a bitter primary and for months balked in offering support, despite his previous pledge to endorse the eventual Republican nominee.

Polls have since suggested that Cruz’s popularity was slipping nationally and back home in Texas, where he could face a primary challenger for re-election in 2018.

———

3:25 p.m.

Hillary Clinton’s campaign is getting a jump on fact-checking Donald Trump’s debate performance.

On a conference call with reporters Friday, Clinton communications director Jennifer Palmieri laid out what they are calling Trump’s “seven deadly lies.” Palmieri said there should be heightened scrutiny at the first general election debate Monday because “his level of lying is unprecedented in American politics.”

The first item on the list is Trump’s false statement that he opposed the war in Iraq. Palmieri said that letting false statements go unquestioned would give Trump an “unfair advantage.” She said the campaign expects the debate moderator to “call out those lies and to do so in real time.”

Palmieri declined to say who is playing Trump in their debate preparations.

———

2:45 p.m.

Hillary Clinton is breaking with President Barack Obama and backing legislation that would allow families of Sept. 11 victims to sue the government of Saudi Arabia for any role in the attack.

The Democratic presidential candidate would sign the bill if she were president. That’s according to a spokesman, Jesse Lehrich.

He said Friday that Clinton continues to support efforts to “hold accountable those responsible” for the attacks.

Obama is expected to veto the bill later Friday. He says it would undermine already-strained diplomatic relations with a critical U.S. ally.

Congressional leaders say they have the voters to override Obama’s veto.

———

1 p.m.

In the final sprint to Election Day, Donald Trump faces a daunting series of roadblocks in the minds of Americans as he tries to catch up to Hillary Clinton.

That’s according to a new Associated Press-GfK poll that finds that more than half the country fears a Trump presidency. Only about third of Americans believe he is at least somewhat qualified to serve in the White House.

Moreover, most voters oppose the hard-line approach to immigration that is the centerpiece of the billionaire businessman’s campaign.

While Trump undoubtedly has a passionate base of supporters, most voters don’t share their fervor. Only 29 percent of registered voters would be excited and just 24 percent would be proud should Trump prevail in November.

———

12 p.m.

Democratic vice presidential candidate Tim Kaine is highlighting some of Donald Trump’s provocative statements about women, the same day Hillary Clinton’s campaign released television ads doing the same.

Speaking at a rally at a union hall in Houston, Kaine said Trump has a troubling history of calling women “fat pigs” and “dogs.”

The Clinton campaign’s new ad shows girls and women looking in the mirror as audio plays of Trump making insulting comments about women.

Kaine also criticized Trump’s campaign for selling buttons on its website that say “Hillary for prison.” Kaine said Trump’s history of name-calling will likely be on display during Monday’s first presidential debate.

Kaine said: “They name-call her because that’s all they got folks.”

———

11:50 a.m.

Tim Kaine is warning those considering voting for Libertarian Gary Johnson as a form of protest that their decision could have “deeply troubling” consequences.

The Democratic vice presidential candidate says votes for third-party candidates have been costly. Kaine said if Ralph Nader hadn’t pulled away votes from Al Gore in the 2000 election, then the U.S. “probably wouldn’t have had a war in Iraq.” He spoke in an interview with Katie Couric for Yahoo News posted online Friday.

Kaine said “everybody knows” that Johnson won’t win, but supporting him could help Republican presidential nominee Donald Trump.

Kaine said that “casting a vote, a protest vote for a third-party candidate that’s going to lose may well affect the outcome, and may well lead to a consequence that is deeply, deeply troubling.”

———

11:45 a.m.

Bruce Springsteen says Donald Trump’s presidential campaign is a “great embarrassment” for Americans.

The Boss shared his thoughts on the Republican candidate as a guest on Swedish-Norwegian talk show “Skavlan.”

In an excerpt of the program posted online by Swedish newspaper Dagens Nyheter on Friday, Springsteen said he understands why people who have struggled to make ends meet could find some of Trump’s arguments compelling.

Commenting on Trump’s chances, he said “the absurdity is beyond cartoon-like. But he’s gotten close enough so it can make you nervous. I don’t think he’s going to win, but even him running is a great embarrassment if you’re an American.”

Hosted by Norwegian TV personality Fredrik Skavlan, the talk show is produced jointly for public service broadcasters SVT of Sweden and NRK of Norway.

———

11:35 a.m.

Donald Trump has added 10 names to the list of people he says he’ll choose from to fill Supreme Court vacancies.

Among the names on the list to be released Friday: Utah Sen. Mike Lee, who notably has yet to endorse the Republican nominee.

The list adds several minority judges to Trump’s list. Nine of the 10 new names are men. The list was first reported by NBC.

Trump in May unveiled a list of 11 federal and state court judges as potential replacements for the late Justice Antonin Scalia.

Trump has wavered in the language he’s used to describe the list. At times, he’s said he would pick directly from it. At others, he’s said the people he would nominate would share similar qualities to those on the list.

———

7:30 a.m.

President Barack Obama says it would good for Donald Trump to visit the Smithsonian Institution’s new National Museum of African American History and Culture that is opening this weekend.

Obama was disputing the Republican presidential candidate’s assertion that “African-American communities are absolutely in the worst shape that they have ever been in before.”

In an interview broadcast Friday on ABC’s “Good Morning America,” Obama said: “I think even most 8-year-olds would tell you that whole slavery thing wasn’t very good for black people. Jim Crow wasn’t very good for black people.”

When asked what advice he would give Hillary Clinton ahead of Monday’s debate with Trump, Obama said she should be herself and explain what motivates her.

He said: “She’s in this for the right reasons.”

———

6:00 a.m.

Hillary Clinton’s campaign is releasing a new television ad that rehashes some of Donald Trump’s most provocative statements about women in the past.

The 30-second ad shows young girls and women looking in the mirror as they hear Trump describe various women as “fat,” a “slob” and one who “ate like a pig.”

It ends with the tag line: “Is this the president we want for our daughters?” It’s the latest attempt by her campaign to use Trump’s words against him and is similar to ads aimed at voters in battleground states, including veterans and people with disabilities.

Clinton’s campaign plans to run the ad in Ohio, New Hampshire, Iowa, Florida, Nevada, North Carolina, Pennsylvania and on national cable.

3:30 a.m.

Republican presidential candidate Donald Trump is seeking to show law-and-order toughness along with empathy for African-Americans as he criticizes violent protests stemming from another fatal police shooting of a black man.

His Democratic opponent, Hillary Clinton, was behind closed doors as she prepared for their initial debate and did not address on Thursday the escalating racial tensions in Charlotte, North Carolina. The city was under a midnight curfew after two previous nights of chaotic protests that led to one death as well as injuries, arrests and vandalism.

Trump has spent the last several weeks asking black Americans for their support and asserting that President Barack Obama has failed the black community, but those appeals have been undermined at times. On Thursday, the Trump campaign accepted the resignation of an Ohio volunteer, Mahoning County chair Kathy Miller, who told the Guardian newspaper, “I don’t think there was any racism until Obama got elected.”

A look at what’s happening all around the majors Saturday:

———

WINNERS AT WRIGLEY

The Cubs can set a team record with their 57th home victory when they host the Cardinals at Wrigley Field. Jason Hammel (15-9, 3.56) is trying to prove himself worthy of a postseason rotation spot for the NL Central champs, though he hasn’t helped himself with a 6.87 ERA in three starts this month. Rookie Alex Reyes (3-1, 1.03) gets his fourth start for St. Louis riding a scoreless streak of 11 1/3 innings.

RICK’S ROLL

Rick Porcello (21-4, 3.08) can become baseball’s second 22-game winner in the past five years when Boston plays at Tampa Bay. Jake Arrieta won 22 games while earning the NL Cy Young Award last season, making him baseball’s biggest winner since Justin Verlander won 24 times with Detroit in 2011. Porcello likely only has two starts left, so Verlander’s mark is out of reach, but that win total combined with his late-season dominance — he’s 7-2 with a 2.38 ERA since Aug. 1 — could give him an edge in the AL Cy Young race.

BUILDING UP

Clayton Kershaw (11-3, 1.73) tries to stretch out even more before the postseason when the Dodgers face the Rockies. Kershaw was limited to 66 and 64 pitches in his first two starts after returning from the disabled list, then jumped up to 88 pitches in a 2-1 win over the Giants in his last start. Despite missing more than two months, Kershaw (6.1) entered Friday trailing only Jose Fernandez (6.2) in wins above replacement, per Fangraphs .

RIGHT THAT RANGER

The Rangers hope to get Yu Darvish on track in a game against Oakland before beginning what they hope is a deep postseason run. Darvish (5-5, 3.81) has a 7.47 ERA in his past three starts, including when he allowed seven runs over five innings last time out against the A’s. Darvish is stumbling at the end of a season that included his successful return from Tommy John surgery, though Texas is just 8-7 this season with their Japanese ace on the mound.

SEARAGE’S LATEST STAR

Ivan Nova starts vs. Washington looking like yet another success story for Pirates pitching coach Ray Searage. After going 7-6 with a 4.90 ERA with the Yankees this season, Nova is 5-1 with a 2.93 ERA in nine starts with the Pirates following a trade Aug. 1. Nova has just three walks in 55 1/3 innings with Pittsburgh, helping him produce a video game-like 15.00 strikeout-to-walk ratio.

GIANT STRUGGLES

Madison Bumgarner (14-9, 2.57) leads San Francisco against the pesky Padres, who had beaten the Giants six straight times before losing 2-1 on Thursday night. Bumgarner is coming off a dominant start against the Dodgers, when he threw seven scoreless innings of one-hit ball in a 2-1 loss. In his six starts previous to that one, Bumgarner had struggled to a 5.30 ERA.

NEW YORK (AP) — Stocks that moved substantially or traded heavily Friday:

Yahoo Inc., down $1.35 to $42.80

The company said hackers stole information from at least 500 million accounts.

Facebook Inc., down $2.12 to $127.96

The social network apologized to advertisers for what it calls an error that overstated the average length of time users watched videos on its site.

Endo International PLC, up $3.13 to $23.39

Endo named Paul Campanelli, the head of its generic drug unit, as its new CEO, replacing Rajiv De Silva.

Oshkosh Corp., down $6.02 to $50.88

The heavy vehicle manufacturer raised its current-year forecasts, but investors were disappointed with its projections for the next fiscal year.

Houghton Mifflin Harcourt Co., down $1.63 to $13.26

The book publisher said CEO Linda Zecher resigned.

AAR Corp., up 65 cents to $29.66

The airplane maintenance company reported quarterly results that were stronger than analysts expected.

Oracle Corp., down 28 cents to $39.23

After big gains recently, technology stocks pulled the market lower on Friday.

Kinder Morgan Inc., down 17 cents to $21.94

Energy companies including the pipeline operator rose as oil prices moved higher.