Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including qauth with all npm packages installed. Try it out:

var qauth = require("qauth")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

qauth v0.1.1

Quick Twitter OAuth Witchzard

qauth - Quick OAuth setup for the busy #botALLY

qauth is a node module that will walk you through setting up OAuth the first time you run your program and provide the necessary config settings to your application once they've been set up.

When you've completed the initial setup, qauth will save a config file in your project's directory. Next time the program starts, qauth will not run setup if the file has already been created--it will simply return the config in a promise.

The config object returned by qauth can be fed directly to the npm package twitter as shown below.

Getting started

  1. npm install qauth

  2. reference quath in your nodejs app

var qauth = require('qauth');
var Twitter = require('twitter');

var silent = false; //optional parameter (true|false*) to disable politeness

  var twitterClient = new Twitter(twitterConfig);
  var message = "hello, world! #botALLY";'statuses/update', {status:message}, function(error, tweets, response){
    if(!error) console.log("Posted!");
    if(error) console.log("ERRORRRRRR", error);
module.exports = {


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free