Updated

Taylor Swift took measures Thursday to de-escalate a Twitter beef with Nicki Minaj, apologizing to the singer for lashing out at her on Twitter regarding her MTV Video Music Awards nominations.

Swift tweeted that she thought she had been "called out" by Minaj. The singer added: "I missed the point, I misunderstood, then misspoke. I'm sorry, Nicki."

Swift's apology came shortly after frenemy Katy Perry joined the fray with a tweet of her own that criticized Swift.

"Finding it ironic to parade the pit women against other women argument about as one unmeasurably capitalizes on the take down of a woman..." Perry wrote in a grammar-challenged missive.

Minaj and Swift had traded words Tuesday on Twitter after MTV announced the nominees for the VMAs, where Swift is the leader with nine. Minaj was upset she didn't earn a nomination for video of the year for "Anaconda."

Minaj tweeted multiple times that she didn't understand why her rump-shaking video for "Anaconda" wasn't up for the top award.

She wrote in one tweet: "If your video celebrates women with very slim bodies, you will be nominated for vid of the year." She also tweeted, "When the 'other' girls drop a video that breaks records and impacts culture they get that nomination."

Minaj did not mention specific artists in her tweets.

Swift, who's "Bad Blood" is nominated for video of the year, responded: "I've done nothing but love & support you. It's unlike you to pit women against each other. Maybe one of the men took your slot."

Nominees for video of the year include Beyonce's "7/11," Kendrick Lamar's "Alright," Ed Sheeran's "Thinking Out Loud" and Mark Ronson's "Uptown Funk."

Minaj said she never mentioned Swift in her tweets.

"Huh? U must not be reading my tweets. Didn't say a word about u," Minaj said to Swift. "I love u just as much. But u should speak on this."

"If I win, please come up with me!! You're invited to any stage I'm ever on," Swift replied.

"Anaconda," released a year ago, has 488 million views on YouTube. It earned VMA nominations for best female video and hip-hop video. Minaj is also up for best collaboration for "Bang Bang" with Ariana Grande and Jessie J.

Swift's nominations for "Bad Blood" include best collaboration, direction, editing, visual effects, art direction and cinematography. Her other hit, "Blank Space," which boasts 1 billion views on YouTube, is nominated for best female video and pop video.

"Bad Blood," the action-packed clip that starred Lena Dunham, Selena Gomez and Lamar, has 360 million views on YouTube.

Miley Cyrus will host the 2015 VMAs, which will air live Aug. 30 from the Microsoft Theater in Los Angeles.

- The AP contributed to this report.