cher-twitter
A source stream implementation for cher
Usage
const Cher = ; const tools = ; const cherTwitter = ; const save = toolspipelinesave; // config helper const config = toolsutilsconfig; // Cher streams get configured here. const sourceStreams = name: 'twitter' module: cherTwitter ; config ;
Tests
Setup some environment variables
$ echo "twitter_CLIENT_ID=<your_client_id>" >> test/test.env
$ echo "twitter_CLIENT_SECRET=<your_client_secret>" >> test/test.env
$ echo "twitterAccessToken=<your_really_long_access_token>" >> test/test.env
$ echo "PAGES=<a_fb_page_id>" >> test/test.env
$ echo "POSTS=<a_fb_post_id_with_comments>" >> test/test.env
Run em'
$ npm test