Robert Pattinson, Katy Perry stand by each other

Both heart broken friends enjoy dinner date in Los Angeles

Katy Perry is encouraging Robert Pattinson to "go out and have fun" to get over his heartbreak after Kristen Stewart cheated on him.

While the 'Twilight Saga' hunk was devastated when his co-star and girlfriend of four years cheated on him with married director Rupert Sanders, his close pal Katy has been trying to help him move on.

A source told HollywoodLife.com: "Last Thursday night (23.08.12), Katy and Rob met up at the Soho House in West Hollywood for a bite to eat. They are close friends and can just be themselves when they are with each other.

"Katy has been trying to be as supportive as she can for Rob. She understands what he's going thru and wants to help him. Katy has been urging Rob to go out and be silly and have fun!"

Pop star Katy Perry has reportedly split from John Mayer.

Both are newly single after Perry's alleged short romance with Mayer ended recently and Pattinson's actress girlfriend Kristen Stewart was caught having a fling.

Although John Mayer was also at the hotspot on the same night, they avoided an awkward encounter.

The source added: "Katy only stayed for about an hour and lucky for her because John Mayer ended up showing up to the Soho House about an hour later and was flirting with some girls. Rob left about 15 minutes after John arrived. The two did not interact."

Perry and Pattinson were seen enjoying their dinner date, reported Sun online.