(RNN) - President Barack Obama made an appearance on the Funny or Die web series Between Two Ferns with Zach Galifianakis, and it's just as hilarious and awkward as you'd expect.
They trade barbs back and forth during the entire six minute clip.
Galifianakis is known for making the guest stars on his show awkward and uncomfortable, but the commander-in-chief has a great poker face and takes the comedy to a higher level.
At one point, Galifianakis asks Obama, "What's it like to be the last black president?" Obama follows up quickly, "Seriously? What's it like for this to be the last time you ever talk to a president?"
Obama's best zinger came when Galifianakis asked about how the president felt about not being able to run for a third term:
"If I ran a third time it would be sort of like doing a third Hangover movie. Didn't really work out very well, did it?"
The president then takes a shot at Galifianakis about one of his co-stars in the film – Bradley Cooper, calling him a "good-looking guy."
"Being like that in Hollywood, that's easy," Galifianakis snapped back. "Tall, handsome, that's easy. Be short, fat and smell like Doritos and try making it in Hollywood."
By the end of the interview, Galifianakis claims that Between Two Ferns has been filming in the Diplomatic Room of the White House for years and that former President George W. Bush gave him permission.
"I have to give the president credit that they were willing to trust us. They were definitely easier than working with most Hollywood publicists," executive producer Mike Farah told the New York Times.
Copyright 2014 Raycom News Network. All rights reserved.