The actress Rose McGowan, who was one of the first to speak out about Harvey Weinstein's alleged sexual assaults, was temporarily limited from using some Twitter features.

Twitter locked her account for 12 hours for "violating" its rules.

The social media company has since said it was because "one of her tweets included a private phone number".

McGowan was named in a New York Times article revealing decades of sexual harassment against young actresses.

The limit meant she couldn't tweet, retweet or like posts, and could only send direct messages, but Twitter said her account has now been unlocked and the relevant tweet was deleted.

In their message to McGowan, Twitter said it would reactivate her account if she deleted tweets which violate their rules.

Twitter has now confirmed that publishing a private phone number was a breach.

Previously, people thought her suspension may have been over tweets she posted about actor Ben Affleck.

In a tweet which has since been deleted, she said that Affleck knew about Weinstein's behaviour.

Affleck posted a Facebook status saying that he was "saddened and angry" at Weinstein, who "used his position of power to intimidate, sexually harass and manipulate many women over decades".

In another tweet, she swears at Ben Affleck.

According to the Twitter rules, harassment and hateful conduct are grounds for being suspended.

Weinstein is accused of using his power and influence to take advantage of, and sexually harass, young actresses in Hollywood over the course of three decades.

A number of Hollywood stars have spoken out against the behaviour, as more victims including Cara Delevingne and Angelina Jolie have come forward.

Weinstein denies the accusations and says he is seeing therapists about his misconduct. He has been fired from the company he co-founded.

Find us on Instagram at BBCNewsbeat and follow us on Snapchat, search for bbc_newsbeat