Component for fetching posts from a page