@staticmethod
def user_parse(data):
    """Parse information from the provider."""
    yield 'id', data.get('id') or data.get('user_id')
    first_name, _, last_name = data['name'].partition(' ')
    yield 'first_name', first_name
    yield 'last_name', last_name
    yield 'email', data.get('email')
    yield 'picture', data.get('profile_image_url')
    yield 'locale', data.get('lang')
    yield 'link', data.get('url')
    yield 'username', data.get('screen_name')
    city, _, country = map(lambda s: s.strip(), data.get('location', '').
        partition(','))
    yield 'city', city
    yield 'country', country
