def get_token_uri(APP_ID, scope):
    """
        Returns URL for getting tokens 
        """
    uri = 'https://www.facebook.com/dialog/oauth?client_id=%s' % APP_ID
    uri += ('&scope=%s&redirect_uri=https://localhost&response_type=token' %
        scope)
    return uri
