William Shatner Not Happy With Facebook After Death Hoax Ad

William Shatner arrives at the 2015 NBCUniversal Summer press day -Getty-H 2017
Michael Tran/FilmMagic
"I'm not planning on dying so please continue to block those kinds of ads," the actor asked the social media site.

William Shatner is alive and well — in fact, he turned 87 on Thursday, so the actor was not pleased when he saw an ad on Facebook sharing a story about his alleged death. 

The Star Trek icon blasted Facebook for the ad via his social media channels after a fan alerted him to it. 

"Hey @facebook isn't this your messenger app?" he wrote on Twitter. "Thought you were doing something about this?" Shatner said. 

The company immediately saw the Captain Kirk actor's message and responded. 

"Thanks for letting us know about this. We have removed this ad and Page from Facebook," wrote Rob Leathern, Facebook's director of product management. 

Shatner was grateful. 

"Thank you. I'm not planning on dying so please continue to block those kinds of ads," he said. 

The incident is similar to one that happened to Rihanna earlier in the month when Snapchat featured an advertisement for a game that alluded to the 2009 domestic violence incident between Chris Brown and her.

Snapchat apologized and removed the ad and game from its platform. 

Facebook continues to deal with fallout after news broke that data from millions of users was compromised and exploited by a data analytics firm with ties to Donald Trump's presidential campaign. The company also faces continued reports of manufactured news being placed on the site leading up to the 2016 presidential election.

On Wednesday, Facebook CEO Mark Zuckerberg apologized in a statement and said that his company is working on fixing its issues.