Skip to content

Instantly share code, notes, and snippets.

Avatar

tuncbahcecioglu

View GitHub Profile
@tuncbahcecioglu
tuncbahcecioglu / auth_twitter_login.js
Created Dec 14, 2012
node.js oauth example: logins to twitter, displays user name
View auth_twitter_login.js
// https://gist.github.com/1964797
var express = require('express');
var sys = require('util');
var oauth = require('oauth');
var app = express();
var _twitterConsumerKey = 'sLNC1nUodJom3L8BNL4iHA';
var _twitterConsumerSecret = 'EcO8Iiv5M8R0qeLVbHAi2cm9uX4Fp1jPODnoGfqUEro';