Twitter confirmed yesterday (Friday) that the two official accounts of the social networking giant Facebook, and its Messenger app, have been hacked.

The two official accounts of Facebook and the Messenger app on Twitter posted an encrypted message: "Hello, we are our OurMine group, well, even Facebook is hackable, but at least their security is better than Twitter."

The hacking group attached this to a message on the e-mail and a website to contact, "To improve the security of your accounts, contact us."

But it appears that Facebook had still had some control over its account, so the tweet - which was posted at least five times - was deleted a few seconds later, and within half an hour it seemed that the hacking attempts had stopped.

A Twitter spokesman said in an email statement that the two accounts had been compromised on a third platform for a short time, "but we have secured them and regained access to them."

"As soon as we became aware of this issue, we closed the hacked accounts and work closely with our Facebook partners to restore them," he added.

Twitter CEO Jacques Dorsey's account was hacked in August, allowing an unauthorized person to send public tweets including racist insults and obscene words to his four million followers, before Twitter secured the account.

The incident was similar to piracy similar to the accounts of the "National Football Association" and "ESPN" sports channel in January. In this case, the hacker group "Or Mayne" claimed responsibility.

That group is also linked to the hacking of a New York Times account on Twitter.