likes
Easily query social media likes/followers without tokens (for node).
NO TOKENS REQUIRED
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
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!