def add_social_account(self, account_type, username, proof=None):
        s = self.profile.SocialAccount()
        try:
            self._remove_social_if_found(account_type)
            s.type = s.SocialType.Value(account_type.upper())
            s.username = username
            if proof:
                s.proof_url = proof
            self.profile.social.extend([s])
        except __HOLE__:
            return
        self.db.profile.set_proto(self.profile.SerializeToString())
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/market/profile.py/Profile.add_social_account