tweep
helper node module for
Get Twitter CONSUMER KEYS & ACCESS TOKENS
Install
$ npm install --save tweep
$ #better save these tokens in ~/.bashrc or ~/.zshrc
$ export TWITTER_CONSUMER_KEY=xxxxxxx
$ export TWITTER_CONSUMER_SECRET=xxxxxxx
$ export TWITTER_ACCESS_TOKEN_KEY=xxxxxx
$ export TWITTER_ACCESS_TOKEN_SECRET=xxxxx
Usage
// articles or link shared in user's tweets and retweets will get fetched, also twitter moments will also includedconst tweep = ;// shared_article_limit totally depends on fetched tweets,you can put 100 but if user haven't shared 100 articles you won't get your desired result// tweep('twitter_user_name',shared_article_limit) ; ;