Plot hole: Ted calls on John to tell him that he saw Lori leaving her apartment with her boss. How did he find him? He turns up not only at the right hotel but the right room! They have had no contact since their fight after the party and Ted hasn't been asking around after John as he tells him he 'just saw' Lori leaving with her boss. So how did he find John? Is he psychic?

Ted (2012)
Ending / spoiler
Directed by: Seth MacFarlane
Starring: Mark Wahlberg, Mila Kunis, Seth MacFarlane, Joel McHale
Genres: Comedy
Ted dies when accidentally torn in half by Donny, who tried to buy him earlier in the film. He comes back to life with Lori's wish from a shooting star. John and Lori get married by Flash Gordon.
Ozzie Gonzalez
Narrator: Now if there's one thing you can be sure of, it's that nothing is more powerful than a young boy's wish. Except an Apache helicopter. An Apache helicopter has machine guns AND missiles. It is an unbelievably impressive complement of weaponry, an absolute death machine.
Trivia: Jared (the person that Guy introduces John to as the one who has been beating him up), is played by Ryan Reynolds, who is uncredited in the film. Reynolds has appeared in other works by McFarlane as well.





Suggested correction: A week has passed since the breakup and we don't see anything that happened during that time. There's nothing in the film to indicate Ted didn't try to reconcile with John (such as through text) or at least find out where he's staying. The only reason Ted decided to go to the hotel is to tell John about Lori leaving with her boss because he knows that would be a big deal to him. And Ted went to Lori's to try to get her to take John back (probably because of things John said to Ted during the week we didn't see). Once Ted is at Lori's and sees her leaving with her boss, he goes to the hotel to tell John he "just saw her leave" with him.
Bishop73
John had no reason to tell Ted where he lives, he didn't want him to come at all, that was shown. Ted wouldn't know where to go.