get-twitter-followings

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i get-twitter-followings

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

7.4 kB

Total Files

9

Last publish

Collaborators

  • aladyn172