code: function createOAuthRequest (api, param1, param2) {
    param1.token = param1.token || api.options.oauthAccessToken;
    param1.tokenSecret = param1.tokenSecret || api.options.oauthAccessSecret;
    var accessor = {
      consumerSecret: api.options.secret
    };
    var message = {
      action: param1.url,
      method: 'GET',
      parameters: [
        ["oauth_consumer_key", api.options.key],
        ["oauth_signature_method", "HMAC-SHA1"]
      ]
    };
  
    if (param1.token != true) {
      message.parameters.push(["oauth_token", param1.token]);
    }
    if (param1.tokenSecret != true) {
      accessor.tokenSecret = param1.tokenSecret;
    }
    message.parameters.push.apply(message.parameters, param2);
    message.parameters.push(["callback", JSONP.getNextCallback()]);
  
    OAuth.setTimestampAndNonce(message);
    OAuth.SignatureMethod.sign(message, accessor);
    return message;
  }
docs: OAuth handlers