def get_user_details(self, response):
        if self.setting('DOMAIN_AS_USERNAME'):
            username = response.get('domain', '')
        else:
            username = response.get('name', '')
        fullname, first_name, last_name = self.get_user_names(
            first_name=response.get('screen_name', '')
        )
        return {'username': username,
                'fullname': fullname,
                'first_name': first_name,
                'last_name': last_name}
An object to hold a Twitter direct message.
dataset/ETHPy150Open omab/python-social-auth/social/backends/weibo.py/WeiboOAuth2.get_user_details--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/DirectMessage.__init__