Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

likes

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

likes

Easily query social media likes / followers without tokens (for node)

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

likes

Easily query social media likes/followers without tokens (for node).

NO TOKENS REQUIRED

API Doc Build Status

Installation

$ npm install likes

Example

var likes = require('likes')

likes.twitter('BarackObama', function (err, count) {
  if (err) {
    console.error(err)
    process.exit(1)
  }
  console.log('Barack has', count, 'followers on Twitter')
})


support social media platforms

  • Facebook
  • Twitter
  • Instagram
  • Youtube

API

API Doc

How it works

The module uses simple HTTP GET to query the respective counts. So far NO headless browser like phantomjs is employed. As the respective page layout may change, this approach is pretty fragile.

Keep in mind that the respective platform may rate-limit / blacklist you in case of "excessive" usage.

Contribution is very welcomed!

Keywords

FAQs

Package last updated on 26 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc