Change to get posts and photo hash at one time