Node.js + Express + twurl
-
Install Ruby and RubyGem
$ sudo apt-get install ruby
-
Install twurl
$ sudo gem install twurl
-
Setup twurl with Twitter API Keys
-
$ twurl authorize --consumer-key key --consumer-secret secret
-
Go URL, which is displayed in above command, and paste result.
-
-
Install Node.js and npm
-
Git clone
$ git clone https://github.com/dotnsf/twurl
-
Edit settings.js
-
Install libralies
$ npm install
-
Run application
$ node app
-
Try with screen_name of twitter
$ curl http://localhost:8080/?screen_name=dotnsf
This code is licensed under MIT.
2020 K.Kimura @ Juge.Me all rights reserved.