code: function normalizeParameters (data) {
    var encoded = []
    var normalized = ''
  
    // Convert object into nested arrays
    // and encode the keys and values.
    Object.keys(data).forEach(function (key) {
      encoded[encoded.length] = [
        encodeOAuthData(key),
        encodeOAuthData(data[key])
      ]
    })
  
    // Sort by keys and values
    encoded.sort(function (a, b) {
      return (a[0] === b[0])
        ? (a[1] < b[1])
          ? -1
          : 1
        : (a[0] < b[0])
          ? -1
          : 1
    })
  
    // Encode parameters similar to
    // query string.
    encoded.forEach(function (pair, i) {
      normalized += pair[0]
      normalized += '='
      normalized += pair[1]
      if (i < encoded.length - 1) {
        normalized += '&'
      }
    })
  
    // bada boom
    return normalized
  }
docs: Normalize Parameters
  https://tools.ietf.org/html/rfc5849#section-3.4.1.3.2