1.0.2 • Published 4 years ago

get-twitter-followings v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

get-twitter-followings

NPM version Build Status Coveralls Status Dependency Status

get followings for target username

Install

npm install --save get-twitter-followings

Usage

import getTwitterFollowings from 'get-twitter-followings';

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

API

getTwitterFollowings(tokens, username)

Return a promise that resolves to followings.

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.

License

MIT © AlaDyn172

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago