Dc3b90db3b0e67a6986fe3fd1c9ef1c8?s=70x70

We’re making a huge effort to be more active on our blog. We want to measure how much activity our blog posts are generating on various websites. This led to the creation of engagement.

Engagement is a Ruby Gem that will help you find out the number of comments a URL is receiving on Reddit, HackerNews, Disqus or Twitter. You can find out more by checking out the README.

Try it Out

gem install engagement
hacker_news = Engagement::CommentCounter::HackerNews.new
reddit      = Engagement::CommentCounter::Reddit.new
counter     = Engagement::CommentCounter::Threaded.new([hacker_news, reddit])

counter.comments_count('http://gaslight.co/blog/measuring-engagement-with-ruby')

View the source on GitHub. Hop in and help out, too! Happy commenting!