Neil Patrick Harris and Oprah Winfrey were among celebrities who wished family and friends a happy Independence Day on social media.

CELEBRITIES FOURTH OFJULY SOCIAL MEDIA POSTS

“We had a 4th Feast! Thanx to my cheffies,” wrote Oprah in a picture with Kenny GilbertMei Lin, and Frederic Monti.

We had a 4th Feast! Thanx to my cheffies @chefkennyg @meilin21 , @fredericmonti

A post shared by Oprah (@oprah) on

Harris posted a photo of his son Gideon jumping into a pool. “In honor of the Fourth of July, Gideon performs his Belly Flop of Independence,” he said.

In honor of the Fourth of July, Gideon performs his Belly Flop of Independence.

A post shared by Neil Patrick Harris (@nph) on

Former Jersey Shore star Pauly D posted a photo in an American flag tank top with the caption, “Happy My Birthday Eve !!!”

Happy My Birthday Eve !!! #happyfourthofjuly #4thofjuly #4th #paulyd #djpaulyd

A post shared by DJ Pauly D (@djpaulyd) on

Vanessa and Nick Lachey posted a photo with two of their children holding American flags.

Sofia Vergara and husband Joe Manganiello hosted a party, and posted plenty of photos from the event.

#happy4thofjuly ??

A post shared by Sofia Vergara (@sofiavergara) on

American style???❤️❤️❤️ #happy4thofjuly

A post shared by Sofia Vergara (@sofiavergara) on

?❤️❤️??

A post shared by Sofia Vergara (@sofiavergara) on

Actress Lupita Nyong’o posted a fun shot of her posing in the sun, though with the caption, “Fourth #TotallyCandidPhoto.”

Fourth #TotallyCandidPhoto

A post shared by Lupita Nyong’o (@lupitanyongo) on

Drew Barrymore showed fans a little snapshot of her life, taking a selfie with her kids in the pool in the background.

Happy fourth

A post shared by Drew Barrymore (@drewbarrymore) on

Katherine Heigl shared a snap of herself with her son, who looks exactly like his mother.

Eva Longoria got into the spirit with a fun gif of herself waving the American flag. “Happy 4th of July y’all,” she said.

Happy 4th of July y’all! #4th

A post shared by Eva Longoria Baston (@evalongoria) on