add api for returning posts of following objects