How Do You Build a Social Media Feed? (System Design)

The home feed looks like the easiest feature in a social app: fetch posts from the accounts you follow, sort, return a page.