[Rake Task] Added looping for traversing pages to get reactions