Basic implementation of getting posts