Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching all post history from a specific user #58

Open
gomichela opened this issue Jul 31, 2023 · 1 comment
Open

Fetching all post history from a specific user #58

gomichela opened this issue Jul 31, 2023 · 1 comment

Comments

@gomichela
Copy link

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?

@shawnphoffman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants