Added code to request 10 posts at a time instead of asking for all posts