 
 saveTweets = (requiredFields, callback) ->
     url = "https://api.twitter.com/1.1/"
-    client = requestJson.newClient url
+    client = requestJson.createClient url
     client.options =
         oauth:
             consumer_key: requiredFields["consumerKey"]

            log.info 'No new tweet to import'
            callback null, 0
        else
            log.info "#{tweets.length - tweetLength} tweet(s) to import"
            tweets = tweets.reverse()
            tweets.pop() if path.indexOf('max_id') isnt -1


                else
                    cb()
            , (err) ->
                log.info "#{numItems} tweets imported"
                callback err, numItems
