Skip to content

Get follower count for Instagram, Twitter, TikTok, Youtube accounts

License

Notifications You must be signed in to change notification settings

egoist/follower-count

Repository files navigation

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


follower-count

npm version npm downloads

Install

npm i follower-count

Example

// Twitter:
import { getBrowserContext, destroyBrowser } from "follower-count"
await getFollowerCount({
  type: "twitter",
  username: "cristiano",
})
await destroyBrowser()

// Instagram:
import { getFollowerCount, getIgSessionIg } from "follower-count"
await getFollowerCount({
  type: "instagram",
  username: "cristiano",
  sessionId: await getIgSessionIg("DUMMY_USER", "DUMMY_PASSWORD"),
})

Notes:

  • instagram requires authentication, you can create a dummy account for this

Documentation

https://paka.dev/npm/follower-count

Sponsors

sponsors

License

MIT © EGOIST

About

Get follower count for Instagram, Twitter, TikTok, Youtube accounts

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •