A McDonald's sign at one of the company's restaurants in...

A McDonald's sign at one of the company's restaurants in Miami is shown on June 28, 2016. Credit: AP

McDonald's says it has determined that that its account was "hacked by an external source" after it sent a message calling Donald Trump "a disgusting excuse of a President."

The tweet to Trump on Thursday from the official account for McDonald's Corp. has since been deleted but was captured in screenshots. The message said it would love to have President Obama back and "also you have tiny hands."

The tweet was also temporarily pinned to the top of the McDonald's account so that it would be the top message people see if they visited the company'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." McDonald's did not provide any other details.

Loading video…

Teen arrested for alleged threat against former school ... Safe driving advocates speak out ahead of holidays ... Out East: Get fresh produce for Thanksgiving Credit: Newsday

New sexual assault allegations rock Suffolk fire district ... Teen arrested for alleged threat against former school ... Thanksgiving travel ... PopUp Bagels opening next week

Loading video…

Teen arrested for alleged threat against former school ... Safe driving advocates speak out ahead of holidays ... Out East: Get fresh produce for Thanksgiving Credit: Newsday

New sexual assault allegations rock Suffolk fire district ... Teen arrested for alleged threat against former school ... Thanksgiving travel ... PopUp Bagels opening next week

Subscribe

Unlimited Digital AccessOnly 25¢for 6 months

SUBSCRIBESALE ENDS SOON | CANCEL ANYTIME