McDonald's said Thursday that its Twitter account was "hacked by an external source" after a message was posted calling Donald Trump "a disgusting excuse of a President."
The tweet on Thursday from the official account for McDonald's Corp. was deleted, but captured beforehand in screenshots.
The tweet said it would love to have President Barack Obama back, then told Trump "also you have tiny hands."
The tweet was temporarily pinned to the top of the company's account so that it would be the top message people see if they visited the McDonald's Twitter profile.
McDonald's said in a statement that it took swift action to secure its account and apologized that the tweet was sent through its corporate account.
The company earlier had said it was notified by Twitter that its account was "compromised" and was investigating.
McDonald's did not provide any other details.