'Get the application\'s access token as a string.'

def get_app_access_token(self, app_id, app_secret):

    args = {'grant_type': 'client_credentials', 'client_id': app_id, 'client_secret': app_secret}
    return self.request('oauth/access_token', args=args)['access_token']
