Skip to content

how to get the exact total number of followings? By Farhan Reza #154

Answered by farhan7reza7
farhan7reza7 asked this question in Q&A
Discussion options

You must be logged in to vote

Use if-follow-package for GitHub:

Steps:
1.

npm install if-follow-package
const ifFollow = require('if-follow-package'); // can use any
const yourUsername = 'username';  // replace with your github username
const yourToken = 'access-token' // replace with your access token
const followController = ifFollow(yourUsername, yourToken);
  1. Get the exact total number of followings

const totalFollowingsMessage = followController.totalFollowings();

for more infos or help, See Farhan Reza

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spirito7phil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
1 participant