get followers for target username
npm install --save get-twitter-followers
import getTwitterFollowers from 'get-twitter-followers';
getTwitterFollowers(tokens, 'jsunderhood').then(followers => {
console.log(followers); // "User Objects" array https://dev.twitter.com/overview/api/users
});
Return a promise that resolves to followers.
Required
Type: Object
Valid Twitter developer credentials (tokens) in the form of a set of consumer and access tokens/keys. You can use twitter-tokens, to simplify getting tokens.
Required
Type: String
Twitter username.
- get-tweets — get latest tweets
- get-twitter-info — get info about target username
- tweet-links — extract links from tweet
- tweets-stats — get statistics from array of tweets
- twitter-mentions — get latest mentions for target username
- twitter-profile-media — get twitter profile image and banner
- twitter-tokens — get twitter tokens
MIT © Vladimir Starkov