index.js
function (consumer_key, consumer_secret) {
        this.oauth = new OAuth.OAuth(
          'https://query.yahooapis.com/v1/yql/',
          'https://query.yahooapis.com/v1/yql/',
          consumer_key, //consumer key
          consumer_secret, //consumer secret
          '1.0',
          null,
          'HMAC-SHA1'
          );
        this.oauth.setClientOptions({ requestTokenHttpMethod: 'POST' });

        return this;
    }
function (consumer_key, consumer_secret) {
        this.oauth = new OAuth.OAuth(
          'https://query.yahooapis.com/v1/yql/',
          'https://query.yahooapis.com/v1/yql/',
          consumer_key, //consumer key
          consumer_secret, //consumer secret
          '1.0',
          null,
          'HMAC-SHA1'
          );
        this.oauth.setClientOptions({ requestTokenHttpMethod: 'POST' });

        return this;
    }
function ( consumer_key , consumer_secret ) { this . oauth = new OAuth . OAuth ( 'https://query.yahooapis.com/v1/yql/' , 'https://query.yahooapis.com/v1/yql/' , consumer_key , //consumer key consumer_secret , //consumer secret '1.0' , null , 'HMAC-SHA1' ) ; this . oauth . setClientOptions ( { requestTokenHttpMethod : 'POST' } ) ; return this ; }
yql-node used to output only xml, now the formatAsJSON chainloader should help.
yql - node used to output only xml now the formatAsJSON chainloader should help .