Made the getposts from story work. The storydetail has sample code to randomly choose a story and show its details.