Fetching all post history from a specific user
gomichela opened this issue · comments
José Pérez commented
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?
Shawn Hoffman commented
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.