fetch and save posts