Attorney General Nicola Roxon says she will talk with her state counterparts about whether there is need for tougher laws on social media after rugby league star Robbie Farah became the latest high-profile victim of anonymous online abuse.

Federal and state politicians today said they would investigate the need for any legal changes, while Ms Roxon called on Twitter to identify "trolls" who were breaking the law.

Robbie Farah Credit:Getty Images

Farah has asked Prime Minister Julia Gillard to enact tougher rules on social media, and NSW Premier has written to the acting PM, Wayne Swan about a review of telecommunications laws.

Ms Roxon said through a spokeswoman the type of behaviour targeted at Farah was ''reprehensible and has no place in our community''.