'We need to override this method to fix Facebooks naming deviation.'

@staticmethod
def _x_credentials_parser(credentials, data):

    credentials.expire_in = data.get('expires')
    if (data.get('token_type') == 'bearer'):
        credentials.token_type = 'Bearer'
    return credentials
