Open gomichela opened 1 year ago
I'm doing something similar with my feed. Since you don't want to fetch all of the posts every time someone loads the feed, I found it easiest to save new posts from that user into an Upstash redis instance when they appear in the firehose. To handle past posts, I have a script that fetches the old posts and adds them to redis one-time. I hope that's at least a little helpful.
Trying out the repo locally, I can see all the contents from the "firehose" as they happen live, this is useful for getting new posts as they come, but is there a way to get all posts from a specific did from when the account was created?