There is an implicit suggestion in your question that ordained clergy should not be associating with sinners in this question. Theologically, that implicit suggestion is nearly impossible to square with the example of Jesus.
As one example of many, consider Mark 2:
15 And as he reclined at table in his house, many tax collectors and sinners were reclining with Jesus and his disciples, for there were many who followed him. 16 And the scribes of[a] the Pharisees, when they saw that he was eating with sinners and tax collectors, said to his disciples, “Why does he eat[b] with tax collectors and sinners?” 17 And when Jesus heard it, he said to them, “Those who are well have no need of a physician, but those who are sick. I came not to call the righteous, but sinners.”
Jesus angered the religious establishment of his day by hanging out with prostitutes, tax collectors, and other sinners. Jesus' mission was precisely to these people.
As a pastor, I have friended gay men on Facebook. On Facebook, I friended a man who was caught embezzling $500,000, and then shot himself. In prison, I have made real-world friendships with murderers, drug dealers, and one man who molested his own daughter for years. In practice, I have found it very difficult to share the Good News with people that I am unwilling to associate with. And yet, these seem to be the same people Jesus loved and went to first.
Do these things detract from my witness? If by that you mean, "Do they project an air that somehow I am less than perfect?" then I hope so! If by, "Do they make me less like Jesus? Well, the Jesus I know would have done the same thing.