Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

iamstarkov/get-twitter-followers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-twitter-followers

NPM version Build Status Coveralls Status Dependency Status

get followers for target username

Install

npm install --save get-twitter-followers

Usage

import getTwitterFollowers from 'get-twitter-followers';

getTwitterFollowers(tokens, 'jsunderhood').then(followers => {
  console.log(followers); // "User Objects" array https://dev.twitter.com/overview/api/users
});

API

getTwitterFollowers(tokens, username)

Return a promise that resolves to followers.

tokens

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.

username

Required
Type: String

Twitter username.

Related

License

MIT © Vladimir Starkov

About

get followers for target username

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •