14 August 2013

Measuring Engagement with Ruby

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('https://gaslight.co/blog/measuring-engagement-with-ruby')

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

Heads up! This article may make reference to the Gaslight team—that's still us! We go by Launch Scout now, this article was just written before we re-introduced ourselves. Find out more here.

Related Posts

Want to learn more about the work we do?

Explore our work

Ready to start your software journey with us?

Contact Us