That video, posted by Yossi Gallo, now has more than 3.2 million views and that number continues to rise.
The person who filmed the video claimed that he had brought the homeless man into the restaurant from outside and purchased a meal for him.
Myrtle Beach Police confirmed the incident, saying they were dispatched to the McDonald's after receiving a call from an employee.
According to a press release, the homeless man was in the parking lot asking people for money.
Police said when they arrived, an employee informed them that the man was inside the restaurant, and requested the officer issue a trespassing warning and ask that the person leave the premises.
The man who recorded the video was also asked to leave for what management deemed "disorderly conduct," according to the release.
Police said both men complied and left the restaurant without incident.
ABC 15 went to the McDonald's on 22nd Avenue North and Kings Highway, but a manager on duty was unwilling to comment.
ABC 15 reached out to McDonald's for a response. It released the following statement from local McDonald's owner/operator Joel Pellicci Jr.:
"At my restaurant, the goal is to provide our customers with a positive and welcoming experience each time they visit. Unfortunately, the individual in this video has a history of disruptive behavior and has been asked to leave by management and police on several occasions."
A representative with McDonald's later confirmed that the individual to whom Pellicci was referring was the homeless man shown sitting at the table in the video.
ABC15 has also reached out to the person who posted the video and is awaiting a response.