Actress and director Olivia Wilde landed herself in hot water for an Instagram story resharing a viral clip of Rihanna's long-term boyfriend A$AP Rocky looking on happily as she performed her hit song "Diamonds" during her Sunday Super Bowl performance.

The caption some fans are calling "thirsty" was the kicker.

"If I thought he was hot before, this really put me over the edge," Wilde wrote on the story.

The 38-year-old star, who is newly single after a split from singer Harry Styles, tagged not only Rocky, but also Rihanna on the post, sending social media into a tailspin.

HOWARD STERN TORCHES RIHANNA FOR LIP-SYNCHING ‘85%’ OF HALFTIME SHOW: NOT SURE ‘WHY SHE BOTHERED SHOWING UP’

Olivia Wilde wears sparkling butterfly dress

Olivia Wilde landed in hot water after sharing a clip of A$AP Rocky to her Instagram story with what some critics are calling a ‘thirsty’ caption while tagging his long-time girlfriend Rihanna on the post. (Michael Kovac)

"Olivia Wilde has no class. Ugh. how are you gonna say this about a man who has a girlfriend and about to have a baby?" one user tweeted.

"Bahaha @oliviawilde so thirsty for other people's men.... grab some water and sit down... Queen RI doesn't need to be reminded by someone like you how hot her man is... SHE KNOWS u just look like thirsty homewrecker," tweeted another.

"ms wilde you really have no shame," added a third.

HOW A PREGNANT RIHANNA PULLED OFF A HIGH-TECH SUPER BOWL HALFTIME SHOW

Rihanna with A$AP Rocky at Golden Globes

Rihanna and A$AP Rocky cuddle up at the Golden Globe Awards. (Christopher Polk)

A fourth commenter wrote, "being a big public figure and thirsting over another celebs man thats CRAZYYY."

Others slammed Wilde for tagging both A$AP Rocky and Rihanna on the post, calling her a "homewrecker" and alleging she is "desperate" for another man after her recent breakup.

Wilde, responding to blowback from the post, added another story hours later, writing, "For anyone who got it twisted, it's hot to respect your partner. Especially when your partner just did thaaaaaat."

ANDY REID DID NOT ALLOW CHIEFS TO WATCH RIHANNA'S SUPER BOWL HALFTIME SHOW, PATRICK MAHOMES SAYS

Rihanna at the halftime show

Rihanna, who was dressed in all red for her first live performance in seven years, stunned fans when it was revealed she is pregnant with her second child.  (Getty Images)

The controversy comes on the tail end of buzz surrounding the "Umbrella" singer's Super Bowl halftime performance in which she revealed her baby bump while dressed in all red on stage.

Fans speculated across the web after the star opened the performance by rubbing her stomach when the show began.

A representative for the star later confirmed she and A$AP Rocky are expecting their second child

CLICK HERE TO GET THE FOX NEWS APP

The stunning display was Rihanna's first live performance in seven years and became the first Super Bowl headline performance by a pregnant woman.

A$AP Rocky and Rihanna welcomed their first child last May and have been an item for over three years.

Fox News' Lauryn Overhultz contributed to this report.