twitter-get-posts
v1.0.3
Published
Allows to obtain the posts of an instagram profile
Downloads
1
Readme
twitter-get-posts
Allows to obtain the tweets of an twitter profile
Pre requirements
You must have python 3 previously installed, once you have python, you must install the snscrape
pip install snscrape
Installation
Install twitter-get-posts with npm
npm install twitter-get-posts
Usage/Examples
Get a random post from a profile
const TWITTER = require('twitter-get-posts');
const fs = require('fs');
TWITTER.getTweets('vegetabdn', 10)
.then(tweets => {
fs.writeFileSync('./example/tweets.json', JSON.stringify(tweets, null, 2));
})
.catch(err => console.error(err));