SAN FRANCISCO (AP) — Lawyers have been given the green light to scan the social media sites of jurors.

The American Bar Association says it’s ethical for lawyers to scour online for publicly available musings of citizens called for jury service — and even jurors in deliberations.

But the ABA does warn lawyers against actively “following” or “friending” jurors or otherwise invading their private Internet areas.

Though judges now universally admonish jurors to refrain from discussing trials on social media, the nationwide lawyers group for the first time is addressing how deeply attorneys, their investigators and their consultants can probe for information that might signal leanings of potential jurors, or unearth juror misconduct during trials.

Jurors’ online postings have disrupted many legal proceedings over the years, causing mistrials and special hearings over the effects of Facebook musings, tweets and blog writings about their trial experiences. Lawyers and judges have also been wrangling over how far attorneys can go in assembling a jury with help from online research of jurors’ social media habits.

A few judges have denied lawyers permission to research social media sites as overly invasive while others have allowed it. One company has gone so far as to develop a software product that promises to create a juror profile through social media posts and monitor jurors during the trial.

The ABA’s ethics committee began reviewing the issue about two years ago and concluded in April that looking at Facebook posts, Twitter tweets and other information gathered passively is ethical research.

“It’s like any other publicly available information,” said Donald Lundberg, an Indianapolis, Indiana, attorney who helped draft the ABA’s opinion as an ethics committee member.

Lundberg said one of the thornier issues for the committee was whether lawyers could view LinkedIn and other social media sites that notify members that they have been searched.

Ultimately, the ABA committee decided a LinkedIn search was ethically sound, which runs counter to an opinion issued by the New York City Bar Association in 2010 that said any notice sent to a potential juror about a search amounts to an unauthorized communication.

“We stay away from LinkedIn and similar sites,” said Leslie Ellis, a Washington D.C. jury consultant. “We don’t want to do anything that would make them uncomfortable to serve.”

Ellis said her firm has been asked on occasion to conduct social media searches of prospective jurors, but only when their names are available days before they arrive at the courthouse. Ellis said prospective juror names generally aren’t available until the morning jury selections begins and that time-constraints limit what can be found online.