The President of the United States just got a scolding ... from the President of the United States -- after he botched a golf shot ... and TMZ has the footage. 

The video was taken on August 17 when Barack Obama was playing a round at the Vineyard Golf Club on Martha's Vineyard. 

After B.O. hooked his shot, you can hear him yell something that sounds like, "C'MON BARACK ... not THAT far left."