twitter-pic-downloader

0.1.2 • Public • Published

twitter-pic-downloader

Downloads images from some twitter stream

Install cli tool

npm install twitter-pic-downloader -g

Configure .env file

  1. Create an .env file:
touch .env
# or use wget 
wget https://raw.githubusercontent.com/saitodisse/twitter-stream-cli/master/.env-example -O .env
  1. Create an app on https://apps.twitter.com/ and put keys on .env file:
# Twitter API keys: https://apps.twitter.com 
CONSUMER_KEY=__XXX__
CONSUMER_SECRET=__XXX__
TOKEN=__XXX__
TOKEN_SECRET=__XXX__
 
# [optional] Firebase URL: https://www.firebase.com/account 
FIREBASE_URL=https://__XXX__.firebaseio.com

Run

Track "photo" and save to "/tmp" folder

# Filter tweets: #photo 
# Save to images to `/tmp` folder 
$ twitter-pic-downloader "#photo" --save /tmp
 
# Filter tweets: foto 
# Save to images to `/tmp` folder 
# Output partial tweets even without images 
# Filter language: pt 
$ twitter-pic-downloader foto --save /tmp --show-all --lang pt

Devs

npm install
npm test
node ./bin/twitter-pic-downloader.js -h
 

Readme

Keywords

Package Sidebar

Install

npm i twitter-pic-downloader

Weekly Downloads

0

Version

0.1.2

License

Apache-2.0

Last publish

Collaborators

  • saitodisse