GitXplorerGitXplorer
i

get-twitter-followers

public
36 stars
11 forks
1 issues

Commits

List of commits on branch master.
Unverified
3435cbaed0a1b420a9ca2509f8a9a3ea53bc293d

add related modules to docs

aandrepolischuk committed 9 years ago
Unverified
28dbea49275f47118296c485dc8409a2df17a2f3

2.0.0

iiamstarkov committed 9 years ago
Unverified
299b88f1468c4b7b3aae64a1ebad8608abd446f9

fix coverage

iiamstarkov committed 9 years ago
Unverified
4bc6d20d821bba80b2906452d0cdcb89a7822cac

compose to pipe

iiamstarkov committed 9 years ago
Unverified
0c30b664a6b5a29ebd7988df31a2ecc697acfaa2

lint fix

iiamstarkov committed 9 years ago
Unverified
cd5f7e40be38e9c3f9d43662177359e330026cf0

add eslint

iiamstarkov committed 9 years ago

README

The README file for this repository.

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