The Knocked Up star was discussing a potential new role and a pilot he is directing with an unidentified recipient when he made the technical blunder.

In a series of posts on the microblogging site, he writes, "When do you shoot?... I'm directing a pilot right now... But could after maybe. I'd love to be on the show."

Rogen then noted his error and joked, "Yes, those last three tweets were supposed to be direct messages. I'm just glad I realized before the d**k pics were sent."