Could you be good/close friends with someone completely different to you?

Re: Could you be good/close friends with someone completely different to you?

what if someone close to you told you not to be friends with her because of this difference and she could influence you? Or told her she should not be friends with you? What would you do?