San Francisco: Facebook accidentally declared its founder Mark Zuckerberg and many other users dead, acknowledging after fixing the problem that it had committed a "terrible error."
"For a brief period today, a message meant for memorialized profiles was mistakenly posted to other accounts," a Facebook spokesperson told AFP.
"This was a terrible error that we have now fixed."
Media reports indicated that some two million errant memorials were posted on profile pages.
Even Facebook co-founder and chief executive Zuckerberg was memorialized in a message at his profile page expressing hope that people who loved him would take comfort in posts people shared in tribute to his life.
"Poor Mark," read an @JudiD23 tweet that included weeping face emojis.
"Couldn't happen to a nicer guy."
The social network apologized and said it worked as quickly as possible to correct the problem.
"Damn. I should have used Facebook Live to show how I was Facebook Dead," Search Engine Land editor Danny Sullivan said in a message fired off at Twitter.
Facebook Live feature lets people broadcast video in real-time at the leading social network.
The mistaken memorial notices contained links to forms that can be submitted to have people's accounts at the leading social network modified into online memorials after they die.
Part of the process is showing proof of death.
Some wondered whether the mishap was a botched test promotion of the feature, rather than a software glitch.
Comments tagged #FacebookDead or #FacebookRapture went viral at Twitter, with people joking that the scenario marked a fitting end to tumultuous week.
"I think this is Facebook's way of flagging the people who died inside on Tuesday," read a tweet from @billkalpak.
A darkly humorous post on Twitter by @JnPhillip was in the form of a note reading "Dear Facebook, Donald Trump does not get inaugurated until January 20th. Nuclear annihilation occurs January 21st."
"Naturally, Facebook waited until 2016 to kill us all," tweeted @kriheli.
Some quipped that the mistake shook confidence in Facebook's feature for checking on people after disasters, or its claim that hoax stories are not a worry at the social network.