Easily query social media likes/followers without tokens (for node).
NO TOKENS REQUIRED
Available for:
- Youtube
$ npm install likes
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')
})
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!