Thou shalt not commit adultery. And thou also shalt not use Facebook. That's the edict from a New Jersey pastor who feels the two often go together.

The Rev Cedric Miller said 20 couples among the 1,100 members of his Living Word Christian Fellowship Church had run into marital trouble over the last six months after a spouse connected with an ex-flame via Facebook.

He is ordering about 50 married church officials to delete their accounts with the social-networking site or resign from their leadership positions. He had previously asked married congregants to share their logins with their spouses, and now plans to suggest they give up Facebook altogether.

Miller, a married father of six, has a Facebook account, but said he will heed his own advice and cancel his account this weekend.