def _get_twitter_user_info(self, auth_info, key=None, secret=None):
        token = oauth1.Token(key=auth_info['oauth_token'], secret=auth_info['oauth_token_secret'])
        client = self._oauth1_client(token, key, secret)

        resp, content = client.request(
          'https://api.twitter.com/1/account/verify_credentials.json'
        )
        uinfo = json.loads(content)
        uinfo.setdefault('link', 'http://twitter.com/%s' % uinfo['screen_name'])
        return uinfo

    #
    # aux methods
    #
Testing the Fedora Hosted repository field values for Mercurial
dataset/ETHPy150Open ibagrak/algae/gae/libs/simpleauth/handler.py/SimpleAuthHandler._get_twitter_user_info--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/hostingsvcs/tests/test_fedora_hosted.py/FedoraHosted.test_repo_field_values_mercurial