

def get_uid(self, access_token):
    'Return uid by access_token'
    data = self.get_json('https://api.weibo.com/oauth2/get_token_info', method='POST', params={
        'access_token': access_token,
    })
    return data['uid']

dataset/ETHPy150Open omab/python-social-auth/social/backends/weibo.py WeiboOAuth2.get_uid/original