I suspect that I am just doing something wrong because I don't fully understand the underlying atproto scheme here, but I think this code should be filtering the firehouse down to just new posts/replies:
async def on_message_handler(message) -> None:
if message.header.t != '#commit':
return
commit = parse_subscribe_repos_message(message)
if len(commit.ops) == 0:
return
op = commit.ops[0]
if (
(op.action == "create") and
op.path.startswith("app.bsky.feed.post/")
):
# Do stuff
However this shows ~6-7k posts for some users just over the past day which seems like a lot if I go scroll through their actual profiles... For some users that is >10% of their total post count according to the bsky UI. Is there something other than posts/replies that would make it through that filter that I'm not accounting for?
I suspect that I am just doing something wrong because I don't fully understand the underlying atproto scheme here, but I think this code should be filtering the firehouse down to just new posts/replies:
However this shows ~6-7k posts for some users just over the past day which seems like a lot if I go scroll through their actual profiles... For some users that is >10% of their total post count according to the bsky UI. Is there something other than posts/replies that would make it through that filter that I'm not accounting for?