title: How can I implement passport.js Twitter strategy for Restful Api?
body: <p>I am making a simple restful API with Node.js and MongoDB. I want to use Twitter Strategy of Passport.js. There are tons of example for web apps. Routes are redirected to an HTML page. I don't want this. How can I solve my situation?</p>